【问题标题】:aadsts50011: the reply url specified in the request does not match the reply urls configured for the application: 'App id'. localhost configurationaadsts50011:请求中指定的回复 url 与为应用程序配置的回复 url 不匹配:'App id'。本地主机配置
【发布时间】:2020-09-06 17:03:18
【问题描述】:

我关注了 this 设置 Microsoft Auth 系统的文档,但遇到了错误 aadsts50011 (here is azure portal URI) (here is my settings.py file) (here is django admin portal site)

【问题讨论】:

    标签: django azure backend django-authentication


    【解决方案1】:

    当应用重定向到 login.microsoftonline.com 时,您可以复制 URL 并查看查询参数。其中之一将是redirect_uri。这应该与您在应用注册中配置的内容一致。

    【讨论】:

    • 对于本地主机我应该如何配置???我将默认的 Example.com 更改为 localhost 但仍停留在该位置
    • 点击登录按钮后,在您输入帐号之前,您会找到请求的url。
    • 我应该在我的 Django 管理站点页面中添加整个链接以及 http 吗?
    • 复制粘贴相同的 url,即在 Azure 门户和 django 管理站点上,但没有任何改变
    • 粘贴redirect_uri参数的值来重定向应用的Uri。与您添加其他两个 uri 相同,如图所示
    猜你喜欢
    • 2020-12-25
    • 1970-01-01
    • 2020-07-12
    • 2018-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多