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 EXchange Access token for auth code #24

Open
Viraz04 opened this issue Feb 19, 2020 · 2 comments
Open

Unable to EXchange Access token for auth code #24

Viraz04 opened this issue Feb 19, 2020 · 2 comments

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.

@Jason-test-automation
Copy link

Hi,
I'm also stuck here, do you have any soluation now?

@rognstad
Copy link

I commented on this over on the main repo: jaredhanson/oauth2orize#238

Basically, POST that data as url-encoded form instead of using query params

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

3 participants