我正在逐步遵循快速入门docs.microsoft/zh-cn/azure/active-directory/develop/quickstart-v2-javascript,并收到以下错误消息:
I am following the QuickStart docs.microsoft/en-us/azure/active-directory/develop/quickstart-v2-javascript step by step and receive the following error:
抱歉,我们无法登录.
Sorry, but we’re having trouble signing you in. 推荐答案
Go to the Azure portal:portal.azuresign in and click on the Azure Active Directory icon on the left. Then click on the ‘App registrations’ icon in the middle pane. In the search box enter the application from the error message and choose ‘All apps’ from the dropdown:
点击您的应用程序,然后点击设置"图标,然后从列表中选择答复网址".检查其中的回复URL",并确保它与应用程序中的URL相同.
Click on your application, then the Settings icon, select the ‘Reply URLs’ from the list. Check the Reply URL that is there and make sure it is the same as from the application.
现在您应该可以在不显示该错误信息的情况下登录.
更多推荐
用于Azure Active Directory身份验证的JavaScriptSPA示例应用程序
发布评论