oauth2orize icon indicating copy to clipboard operation
oauth2orize copied to clipboard

Unable to get the exchange token

Open Viraz04 opened this issue 4 years ago • 1 comments

Hi, I was able to get the auth code but when i call the token api, i get Unauthorised 401 Error, I am passing these values in the url http://localhost:3000/oauth/token?grant_type=authorization_code&code=tncHiOrBZRcvjJQ1&redirect_uri=http://localhost:3000/account&client_id=abc123&client_secret=ssh-secret Please help with his, I am stuck.

Viraz04 avatar Feb 19 '20 12:02 Viraz04

This is really old but try POSTing the data as application/x-www-form-urlencoded

rognstad avatar Feb 19 '21 23:02 rognstad