用于Azure Active Directory身份验证的JavaScriptSPA示例应用程序 [英] JavaScriptSPA Sample Application for Azure Active Directory Authentication

查看:63
本文介绍了用于Azure Active Directory身份验证的JavaScriptSPA示例应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在逐步遵循快速入门https://docs.microsoft.com/zh-cn/azure/active-directory/develop/quickstart-v2-javascript,并收到以下错误消息:

I am following the QuickStart https://docs.microsoft.com/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: https://portal.azure.com sign 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示例应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆