You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow devs to handle different scenarios in the client. It should be easy to implement and shouldn't break current developer code, since the argument could be ignored.
I would be happy to open a pull request, when I have time in a few weeks from now 🙂.
The text was updated successfully, but these errors were encountered:
fast-jwt
has a Token Error object with discreet error codes: fast-jwt/src/error.js
It would be great if Token Errors were passed to
onError()
, along with theTOKEN_ERROR_CODES
, so we can respond differently when the token is expired:This would allow devs to handle different scenarios in the client. It should be easy to implement and shouldn't break current developer code, since the argument could be ignored.
I would be happy to open a pull request, when I have time in a few weeks from now 🙂.
The text was updated successfully, but these errors were encountered: