Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get the exchange token #238

Open
Viraz04 opened this issue Feb 19, 2020 · 1 comment
Open

Unable to get the exchange token #238

Viraz04 opened this issue Feb 19, 2020 · 1 comment

Comments

@Viraz04
Copy link

Viraz04 commented Feb 19, 2020

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.

@rognstad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants