cozy / cozy-client-js

Javascript library to write Cozy applications
https://docs.cozy.io/en/cozy-client-js/README/
MIT License
11 stars 12 forks source link

fix: Allow 401 errors for expired tokens #319

Closed nono closed 2 years ago

nono commented 2 years ago

The stack will change the http code used for expired tokens from 400 to

  1. This change will allow cozy-client-js to try refreshing the token in such cases.

See https://github.com/cozy/cozy-stack/pull/3173

nono commented 2 years ago

Ping @taratatach & @Crash--