AADSTS50011:请求中指定的回复URL与为应用程序Python配置的回复URL不匹配 [英] AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application Python

查看:61
本文介绍了AADSTS50011:请求中指定的回复URL与为应用程序Python配置的回复URL不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过Microsoft使用登录快速入门,但是当我尝试记录错误时出现:

I try to use the quickstart of sign-in with Microsoft but when I try to log an error appear:

在我的配置文件中,我有以下参数:

in my config file i have this parameters:

在应用程序配置中,我有以下参数:

and in the app config i have this paramter:

我不知道发生了什么事:(

i dont know what is happening :(

感谢您的帮助!:D

推荐答案

您的 Redirect_Path 应该与Azure门户 Redirect URIs 相同.

Your Redirect_Path should be same with azure portal Redirect URIs.

注意:协议很重要.AAD会将 http://localhost/logfinal/ https://localhost/logfinal/视为不同的回复网址.如果您在追踪之后仍然遇到问题在上述步骤中,检查配置的回复URL是否与您实际使用的协议.

Note: Protocol matters. AAD will treat http://localhost/logfinal/ and https://localhost/logfinal/ as different reply URLs. If you are still having an issue after following the steps above, check that the configured reply URL matches the protocol you're actually using.

希望这会有所帮助.此外,请参考正式文档了解更多信息.

Hope this would help. Additionally, please refer to Official document for more details.

这篇关于AADSTS50011:请求中指定的回复URL与为应用程序Python配置的回复URL不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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