"The grant was issued for another authorization server."

in postman, On POST for token : /oauth2/default/v1/token
I’ve the response:

{
“error”: “invalid_request”,
“error_description”: “The grant was issued for another authorization server.”
}

https://domain/oauth2/default/v1/token?client_id=0xxxxxxxxxxxx&grant_type=authorization_code&code=the-code&redirect_uri=http%3A%2F%2Fmy-domain&code_verifier=my-code-verifier

headers:
Content-Type: application/x-www-form-urlencoded

what is the problem ?

Hi @nlas

This error occurs when the authorization code was generated through an authorization server (eg. /oauth2/v1/authorize) and then verified against a different authorization server (eg. /oauth2/default/v1/token). Can you please check the URLs and try again?

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.