Skip to content

fix: Allow 401 errors for expired tokens#319

Merged
nono merged 1 commit intomasterfrom
expired-token
Oct 25, 2021
Merged

fix: Allow 401 errors for expired tokens#319
nono merged 1 commit intomasterfrom
expired-token

Conversation

@nono
Copy link
Copy Markdown
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 nono requested review from Crash-- and taratatach October 4, 2021 14:55
@nono
Copy link
Copy Markdown
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