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

[oauth2] Failed to refresh token #17

Open
enbochen opened this issue Mar 6, 2018 · 3 comments
Open

[oauth2] Failed to refresh token #17

enbochen opened this issue Mar 6, 2018 · 3 comments

Comments

@enbochen
Copy link

enbochen commented Mar 6, 2018

After 360 seconds timeout of the token, oauth2 client (I have tried different clients, same issues) failed to refresh token:
Original error:
[oauth2] Failed to refresh token url=https://online.planmill.com/:instance/api/oauth2/token status=400
Any ideas about this? Thanks!

@enbochen
Copy link
Author

{"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."}

@antansk
Copy link
Contributor

antansk commented Dec 12, 2018

Hey,

sorry for no one replying for a such a long time. These issues haven't been monitored for a while.

Have you been able to resolve this issue?

It should work by following the Getting started instructions:
https://github.com/planmill/api/wiki/Getting-started

@ollivatto
Copy link

As per our experience this seems to be due to non-compliant refresh flow (see https://tools.ietf.org/html/rfc6749#section-2.3.1). The server should accept client credentials in Authorization header but unfortunately this implementation only accepts the client_id and client_secret values in request-body.

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