question

RadhaRajendran-2501 avatar image
0 Votes"
RadhaRajendran-2501 asked amanpreetsingh-msft edited

Error generating token

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

azure-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered

Hi @RadhaRajendran-2501 · 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.