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

Handle error that should trigger a refresh token #142

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

jdeniau
Copy link
Member

@jdeniau jdeniau commented Jun 4, 2024

Comportement actuel

invalid_grant is never returned by our API and should not trigger a refresh_token. See https://www.rfc-editor.org/rfc/rfc6749#section-5.2

Nouveau comportement

Update error body that should trigger a refresh

@jdeniau jdeniau requested a review from lnahiro June 4, 2024 15:01
@jdeniau jdeniau merged commit ffe3491 into main Jun 4, 2024
4 checks passed
@jdeniau jdeniau deleted the handle-401-error-real branch June 4, 2024 19:12
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