Share via

Error generating token

Radha Rajendran 61 Reputation points
2021-03-29T20:56:17.167+00:00

Hi Team,

When i use installed postman to generate token, i am getting the token whereas when i use postman web app token generation gets failed for same request.

Request Id: f0e22b16-29e3-4cf4-8ea1-b82a696df400
Correlation Id: d2eaf648-9339-4ead-a941-f624ff639e40
Timestamp: 2021-03-29T20:54:01Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '059c0542-xxxx-xxxx-xxxx-753a40e647d9'.

Let me know what cause this issue

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

  1. AmanpreetSingh-MSFT 56,966 Reputation points Moderator
    2021-03-30T04:00:30.383+00:00

    Hi @Radha Rajendran · Thank you for reaching out.

    By tracking the details on the basis of Request and Correlation ID, I found

    • Reply URL in the authentication request is: https://oauth.pstmn.io/v1/browser-callback
    • Reply URL (Redirect URI) registered in the application (059c0542-xxxx-xxxx-xxxx-753a40e647d9) is: http://localhost:8080/login/oauth2/code/

    To resolve the issue, make sure both these URLs match.

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

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

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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