login problems office365 AADSTS50011

Caroline-009 21 Reputation points
2021-01-25T07:03:12.767+00:00

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 image - bitnami

Discourse software

Can I have this error checked?

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,400 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,691 Reputation points
    2021-01-27T12:33:41.81+00:00

    Hi @Caroline-009 · Thank you for reaching out.

    By tracking your Correlation ID in our backend database, I found that:

    • Reply URL in the authentication request is http://forum.XX.XXXXXX.pl/auth/microsoft_office365/callback
    • Reply URL (Redirect URI) registered under application with App ID: 309a2bc9-xxxx-xxxx-xxxx-2a348ca7d934 is https://forum.XX.XXXXXX.pl/auth

    To resolve the issue, you need to make sure the reply url in the request matches with the reply url registered for the application: 309a2bc9-xxxx-xxxx-xxxx-2a348ca7d934.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.