Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to logout? #4

Open
shahidmau opened this issue Nov 30, 2015 · 2 comments
Open

How to logout? #4

shahidmau opened this issue Nov 30, 2015 · 2 comments

Comments

@shahidmau
Copy link

Nice demo, but I can't see logout api any where. Can you kindly provide logout api also?

Thanks

@GlennGeenen
Copy link

The webtoken has an expiration date, you are automatically logged out after 24 hours (in this example). You can logout by throwing away the token in the frontend.

@milapthakkar
Copy link

milapthakkar commented Feb 16, 2019

You can delete token from browser localstorage to signout if you are adding token in localstorage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants