Office365 登录问题 AADSTS50011

I’m having trouble logging in to an application Discourse that uses the Office365 login plugin.

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: ‘309a2bc9-dbe3-4346-b4fe-2a348ca7d934’.

Request Id: 25814e60-934a-4d89-b671-8acbb02e8c00
Correlation Id: 9a1f4ffd-0b15-4d65-a86a-d3216bda0d00
Timestamp: 2021-01-25T06:59:58Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: ‘309a2bc9-dbe3-4346-b4fe-2a348ca7d934’.

Machine - bitnami
Discourse software

What could be the reasons for this error?

我在服务器迁移到代理后面时,在查找如何解决 O365 授权问题时,找到了这个主题和类似的主题:https://docs.microsoft.com/en-us/answers/questions/243672/login-problems-office365-aadsts50011.html

对于那些通过搜索来到这个主题的人,请考虑以下两点:

  1. 检查 force_https 选项是否已启用。
  2. 如果您的 Discourse 服务器位于 SSL 代理后面,请尝试在 Discourse 服务器的 Nginx 配置中设置 proxy_set_header X-Forwarded-Proto \"https\";
详细信息

Facebook Login Error: CSRF detected - #3 by Ivan_Rapekas