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

fix: Allow 401 errors for expired tokens #319

Merged
merged 1 commit into from
Oct 25, 2021
Merged

fix: Allow 401 errors for expired tokens #319

merged 1 commit into from
Oct 25, 2021

Conversation

nono
Copy link
Member

@nono nono commented Oct 4, 2021

The stack will change the http code used for expired tokens from 400 to
401. This change will allow cozy-client-js to try refreshing the token
in such cases.

See cozy/cozy-stack#3173

The stack will change the http code used for expired tokens from 400 to
401. This change will allow cozy-client-js to try refreshing the token
in such cases.

See cozy/cozy-stack#3173
@nono
Copy link
Member Author

nono commented Oct 22, 2021

Ping @taratatach & @Crash--

@nono nono merged commit a2936b5 into master Oct 25, 2021
@nono nono deleted the expired-token branch October 25, 2021 06:53
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