[英]How to configure Azure AD redirect url when publishing app to local web server?
I have developed a VS2017 app. 我已经开发了VS2017应用程序。 using Azure AD login. 使用Azure AD登录。 It is presently on my desktop. 目前在我的桌面上。 The app is registered with Microsoft, and the login process successfully redirects from Microsoft to our local authentication server login page. 该应用已向Microsoft注册,并且登录过程已成功从Microsoft重定向到我们的本地身份验证服务器登录页面。 After login the app then successfully redirects to my localhost dev environment and the app works fine. 登录后,该应用程序随后成功重定向到我的localhost开发环境,并且该应用程序运行良好。 My question? 我的问题? I now need to configure on a local server for testing. 我现在需要在本地服务器上进行配置以进行测试。 The redirect URL still points to localhost. 重定向URL仍指向localhost。 What do I need to do to get the app working in terms of configuring redirects? 我需要做什么才能使应用程序在配置重定向方面正常运行?
只需在Microsoft应用程序门户中为该应用程序设置返回URL,以使其与web.config中的URL相匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.