Skip to main content

Cannot obtain auth token

I cannot get past step 4 of the quickstart:

I've made sure that my client id, secret, redirect url and code are all accurate and up to date. 


curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --data '{"grant_type":"authorization_code", "client_id":"CLIENTID", "client_secret":"SECRET", "redirect_uri":"http://localhost:9000", "code":"CODE"}'

Note: things in capitals have been redacted


{"error":"invalid_grant","error_description":"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}

Any thoughts as to what could be going on?

Showing 2 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.