Hi,
the oauth endpoint that is supposed to exchange code for token suddenly started failing for me.
When I try to do the same request in insomnia, I get unsupported_grant_type
even though nothing changed on my side. Were there any breaking changes I missed or is the error on your side?
A quick update after working on this via email, for anyone else reading… The POST /oauth2/token
endpoint requires that the grant_type
, request_uri
, etc. parameters are sent in the request body using the x-www-form-urlencoded format.
Also good to note when testing, the authorization codes have a limited lifespan!