Login problems 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?