django-microsoft-auth:输入参数 'redirect_uri' 的提供值无效
django-microsoft-auth : The provided value for the input parameter 'redirect_uri' is not valid
我正在 Azure AD 和 Django 的帮助下创建单点登录 (SSO)。我正在使用
Python==3.8
Django==3.1
django-microsoft-auth==2.4.0
我遵循了 https://django-microsoft-auth.readthedocs.io/en/latest/usage.html
上的教程
但是当我在完成 10 个步骤后尝试使用注册电子邮件 ID 登录时出现此错误。我使用的天蓝色广告中的重定向 URI 是 https://localhost:8080/microsoft/auth-callback/
问题是我给了 https 而不是 http 作为重定向 URI
所以而不是
https://localhost:8080/microsoft/auth-callback/
使用
http://localhost:8080/microsoft/auth-callback/
同样在我使用的 postgresql 数据库中,我们应该提供值
localhost:8080
进入tabledjango_site
我正在 Azure AD 和 Django 的帮助下创建单点登录 (SSO)。我正在使用
Python==3.8
Django==3.1
django-microsoft-auth==2.4.0
我遵循了 https://django-microsoft-auth.readthedocs.io/en/latest/usage.html
上的教程但是当我在完成 10 个步骤后尝试使用注册电子邮件 ID 登录时出现此错误。我使用的天蓝色广告中的重定向 URI 是 https://localhost:8080/microsoft/auth-callback/
问题是我给了 https 而不是 http 作为重定向 URI
所以而不是
https://localhost:8080/microsoft/auth-callback/
使用
http://localhost:8080/microsoft/auth-callback/
同样在我使用的 postgresql 数据库中,我们应该提供值
localhost:8080
进入tabledjango_site