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

Fixed unauthorized error when refreshing a token #237

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Fixed unauthorized error when refreshing a token #237

merged 1 commit into from
Oct 26, 2017

Conversation

amaurydavid
Copy link
Contributor

If the server sends an unauthorized error when we're trying to refresh a token, it's now handled the same way as not having any refreshToken at all.
New credentials will the asked (via the doAuthorize func) instead of just failing the whole OAuth process.

@p2
Copy link
Owner

p2 commented Oct 26, 2017

Oh great, thanks for fixing this!

@p2 p2 merged commit 2e3d2e9 into p2:master Oct 26, 2017
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

Successfully merging this pull request may close these issues.

2 participants