feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
15.03k stars 750 forks source link

fix(authentication-client): Remove access token for fatal 400 errors #2894

Closed daffl closed 1 year ago

daffl commented 1 year ago

This pull request removes the authentication client access token from storage for all 400 errors that are unrecoverable (e.g. 404, Forbidden) etc.

Closes https://github.com/feathersjs/feathers/issues/2835

netlify[bot] commented 1 year ago

Deploy Preview for feathers-dove canceled.

Name Link
Latest commit 2e7ac61241633ef02e7887da6c590810c8cfa6f0
Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/638120ea33f3fc00091f4908