Share via

Api Authentication error

Usman Malik 1 Reputation point
2020-12-10T08:48:59.317+00:00

Hi,

When i tried to authenticate my user i got this error .

https://login.microsoftonline.com/common/oauth2/v2.0/token` resulted in a 400 Bad Request response: {"error":"invalid_grant","error_description":"AADSTS70000: The provided value for the 'redirect_uri' is not valid. The v (truncated...)

It was working fine but now it showing ng me this error even though "redirect_uri" is same as it mention in app.

please help me out.

Thanks,

Microsoft Security | Microsoft Entra | Microsoft Entra ID

2 answers

Sort by: Most helpful
  1. Usman Malik 1 Reputation point
    2020-12-11T07:19:05.083+00:00

    I resolved the issue thankyou.

    After getting the code the new request for token also want to set redirect URL manually that is why redirect uri was mismatch every time and causing the issue which is strange for me. but thanks again,

    Was this answer helpful?


  2. Usman Malik 1 Reputation point
    2020-12-11T05:14:54.167+00:00

    not able to pull correlationID and timestamp

    Was this answer helpful?

    0 comments No comments

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.