Get Token - invalid_credentials

Hi,


When trying to get the Auth token back using the grant_type = authorization_code I'm getting an invalid_credentials response saying that The specified credentials were not valid


I have tried using both the header Authorization: Basic <base64 encoded "client_id:client_secret"> (client_id, colon, and client_secret encoded as a single string without quotes).


I have also tried adding the client_id and client_secret to the body of the POST request.


They all come back with the same invalid_credentials response. 


I'm using Nodejs and have tried using Axios and simple-oauth2 libraries to request the token.


Please help.


 

Categories