azure - 为 Azure 函数应用程序授权 gitHub enterprise (python)

标签 azure github azure-functions

我想通过我的 Azure 函数应用向 GitHub Enterprise 授权。在部署中心,我可以看到将我的 azure function 应用程序“授权”到 GitHub 的选项,但是,当我提供 GitHub 企业凭据时,登录页面将其显示为无效凭据。

我通过直接登录 git hub 企业 URL 进行了交叉检查,并且凭据正常工作。

我想知道我是否遗漏了什么。

屏幕截图:

以下是 GitHub AuthZ 的提示

enter image description here

在这里,我提供了我的 GitHub 企业信用(在屏幕截图中显示了假信用)

enter image description here

使用相同的凭据登录失败。

enter image description here

最佳答案

I did cross-check, by directly logging into the git hub enterprise URL, and the credentials are working.

据我所知,您可以使用 GitHub 授权 Azure Functions。尝试使用您的 GitHub 帐户凭据登录。

当我尝试使用我的 GitHub Enterprise 凭据登录时,我也收到了如下错误:

enter image description here

使用相同的凭据,我可以通过浏览器登录。

后来,我尝试使用我的 GitHub 凭据登录,并且可以毫无问题地登录:

enter image description here

enter image description here

引用:

How to setup Azure Function Continuous Deployment using Enterprise Github? .

关于azure - 为 Azure 函数应用程序授权 gitHub enterprise (python),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76521981/

相关文章:

git - 如何配置命令行 git 使用 ssh key

ios - 如何在 iOS 应用程序中包含 github 项目,就像 android studio 中的依赖项一样

Azure Functions -> 无法将 IServiceProvider 或 IFunctionsHostBuilder 注入(inject)工厂类构造函数

node.js - 将大型 Node 模块添加到 Azure 函数

python - Azure python SDK - 从资源组中删除或取消分配虚拟机

c# - 为 Azure Function (v3) 的 RequestTelemetry 添加自定义属性

azure - 使 Azure 托管网站成为公司 Intranet 的一部分(单点登录)

Azure Runbook 重命名 SQL 数据库

git - Gatsby 和 GitHub Pages 的多个分支的用途

c# - 带有 Azure Functions 的 DocumentDB