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
We are using a JWT specification, meaning authorization is done through loggin in, saving the JWT token that was returned by API, then signing all authorization-requiring API endpoints with that JWT token.
As such, I feel that to implement 'log out' functionality, it can be entirely done on frontend, through a button that deletes the jwt cookies, "forgetting them", along any others used to signify to user that he is 'signed in' (any cookies like currentuser: myaccount).
The text was updated successfully, but these errors were encountered:
We are using a JWT specification, meaning authorization is done through loggin in, saving the JWT token that was returned by API, then signing all authorization-requiring API endpoints with that JWT token.
As such, I feel that to implement 'log out' functionality, it can be entirely done on frontend, through a button that deletes the jwt cookies, "forgetting them", along any others used to signify to user that he is 'signed in' (any cookies like currentuser: myaccount).
The text was updated successfully, but these errors were encountered: