简体   繁体   English

将应用程序发布到本地Web服务器时如何配置Azure AD重定向URL?

[英]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.

相关问题 如何在Azure AD B2C中配置Microsoft帐户身份提供程序以重定向到我的URL - How can I configure Microsoft Account identity provider in Azure AD B2C to redirect to my URL 需要指导发布 Blazor 网络应用程序到 Azure 使用 Azure 广告进行身份验证 - Need guidance publishing Blazor web-app to Azure using Azure Ad for authentication 如何在 WPF 应用程序中使用 Z3A580F142203677F0BC30898 AZFZ 验证 web api - How to authenticate web api in WPF app using Azure AD ASP.NET Core Azure AD 身份验证 - 网络 Web 服务器的重定向 URI 不正确 - ASP.NET Core Azure AD Auth - Redirect URI incorrect for network web server 无法使Web应用重定向到Azure AD B2C登录页面 - Cannot get web app to redirect to Azure AD B2C Sign in Page 在Azure中发布时Web应用程序行为不同 - Web Application behaviour different when publishing in Azure 具有Azure AD身份验证的MVC Webapp在本地运行良好,但在移植到Azure应用程序服务时无法正常运行 - MVC webapp with Azure AD authentication works fine in local but not when porting to Azure app services 使用Azure Devops部署时的Asp Core Web App,404,通过Visual Studio发布时为200 - Asp Core Web App, 404 when deploying with Azure Devops, 200 when publishing via Visual studio WindowsCryptographicException:在 Azure 中发布应用程序时访问被拒绝 - WindowsCryptographicException: Access is denied when publishing app in Azure 将带有类库的ASP.Net Core Web App发布到Azure时在主页上出现500错误 - Getting 500 Error on Home page when publishing ASP.Net Core Web App with class library to Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM