简体   繁体   English

Azure身份服务器身份验证

[英]Azure Identity Server Authentication

In Azure, I have a docker-compose file for my web app instance that creates the Angular front-end, an IdentityServer4 server for authenticating users, and an API that handles communication to a DB. 在Azure中,我有一个用于Web应用程序实例的docker-compose文件,用于创建Angular前端,用于身份验证用户的IdentityServer4服务器以及用于处理与数据库通信的API。

The container logs seem to suggest that everything in the docker-compose is running just fine, but when I attempt to reach the IdentityServer4 login page from the Angular front-end, I keep receiving this error in the Console: 容器日志似乎表明docker-compose中的所有内容都运行良好,但是当我尝试从Angular前端访问IdentityServer4登录页面时,我在控制台中始终收到此错误:

Failed to load resource: net::ERR_CONNECTION_CLOSED  :5000/.well-known/openid-configuration:1

and also... 并且...

ERROR Error: Uncaught (in promise): Error: Network Error   core.js:1624 

I have replaced all of the localhost:5000 instances(for ID Server) with https://myapp.azurewebsites.net:5000 , which I thought would handle the transition to Azure, but I can't seem to get past the above errors. 我已将所有localhost:5000实例(用于ID Server)替换为https://myapp.azurewebsites.net:5000 ,我认为这可以处理向Azure的过渡,但是我似乎无法克服上述错误。

Does anybody know what I could be doing wrong here? 有人知道我在这里可能做错了什么吗? Or what I can do to fix this issue? 或者我可以采取什么措施解决此问题?

Goto database and update clients based tables where the will localhost:5000 mentioned. 转到数据库并更新基于客户端的表,其中将提到localhost:5000 Replace localhost with myapp.azurewebsites.net myapp.azurewebsites.net替换localhost

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Azure 中的托管身份进行服务到服务身份验证 - Service to Service authentication with Managed Identity in Azure Azure托管身份本地调试身份验证失败 - Azure Managed Identity local debug authentication failure 使用 Azure AD 进行 Dotnet 核心身份验证 - Dotnet core Identity authentication with Azure AD 来自非 Azure VM 的托管身份验证 - Managed Identity Authentication from non Azure VM 在 Azure 中整合托管身份与身份验证/授权身份 - Consolidating Managed Identity vs Authentication/Authorization Identity in Azure 如何将Asp.Net身份验证与Azure AD身份验证连接 - How to connect Asp.Net Identity authentication with Azure AD Authentication 如何使用 Azure 身份验证在 Azure Function 中获取当前用户身份? - How to get current user identity in Azure Function with Azure Authentication? 在Azure中,如何更改服务器的身份验证? - In Azure, how to change the authentication of the server? 在Azure中使用Identity Server签名证书 - Using an Identity Server signing certificate in Azure Asp.net Identity使用密码和Azure Active Directory身份验证 - Asp.net Identity using password and Azure Active Directory authentication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM