aadsts50011:请求中指定的回复URL与为应用程序配置的回复URL不匹配:“应用ID”本地主机配置

问题描述

我遵循了this文档,通过坚持错误aadsts50011(here is azure portal URI)来设置Microsoft Auth系统 (here is my settings.py file) (here is django admin portal site

解决方法

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