exlibris-fed / exlibris

MIT License
4 stars 0 forks source link

Destroy auth token and logout on error #34

Closed Sigafoos closed 3 years ago

Sigafoos commented 4 years ago

If the front end makes a call that results in a 401, their localStorage['auth'] token is invalid. Send them through the logout flow (#33 ).

Sigafoos commented 3 years ago

Should be doable with an axios interceptor