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 認証の問題を解決する方法を調べていたところ、このトピックと類似のものを見つけました。こちらです。

検索からこのトピックにたどり着いた方のために、次の2点に注意してください。

  1. force_https オプションが有効になっているか確認してください。
  2. SSL プロキシの後ろに Discourse がある場合は、Discourse サーバーの Nginx 設定で proxy_set_header X-Forwarded-Proto "https"; 設定を試してください。
詳細

Facebook Login Error: CSRF detected - #3 by Ivan_Rapekas