用于Azure Active Directory身份验证的JavaScriptSPA示例应用程序

编程入门 行业动态 更新时间:2024-10-27 14:18:55
本文介绍了用于Azure Active Directory身份验证的JavaScriptSPA示例应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在逐步遵循快速入门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示例应用程序

本文发布于:2023-11-14 08:56:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586775.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:示例   应用程序   身份验证   Active   Azure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!