azure - IDX20804 : Unable to retrieve document from: 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration'

标签 azure docker authentication openid identity

让我解释一下。 我有两个应用程序,它们具有类似的 appsettings.json、类似的 Program.cs 和类似的 Controller 。 我正在尝试使用 Microsoft 提供的 token 访问端点。 这两个应用程序之间的唯一区别是:我在返回此错误的应用程序中使用 docker:

 ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration'.
 ---> System.Net.Http.HttpRequestException: No such host is known. (login.microsoftonline.com:443)
 ---> System.Net.Sockets.SocketException (11001): No such host is known.

在我的其他应用程序(不使用 Docker)中,我可以访问我的端点

你们认为也许 docker 正在以某种方式破坏我的身份吗?

最佳答案

对不起,伙计!我不知道。 但是运行docker日志

关于azure - IDX20804 : Unable to retrieve document from: 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72317614/

相关文章:

Azure功能部署: What is local. settings.json?

amazon-web-services - docker 容器中的“aws configure”将不使用环境变量或配置文件

authentication - 如何获取经过身份验证的事件 gcloud 帐户?

android - Volley OAuth1.0认证

php - CakePHP:ACL 和/或身份验证

c# - Azure WebJobs 上的编码问题

azure - Azure 可用区的距离有多远?

javascript - 如何在 DocumentDB 中得出平面计数输出

Docker-compose 和命名卷权限被拒绝

docker - docker-compose-仅通过Vagrant-Windows Shell没有此类服务