Logout does not work!
See original GitHub issueWhen I try to logout, it will show a SUCCESS message for logout.
{ “data”: “Log out successful”, “success”: true, “timestamp”: “2020-07-06T07:55:10.948Z” }
However still the old token is usable and I can access to data via /user/me
with the old token!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Log out doesn't work and automatically sign in
Hello guys… I am having an issue with the logout part of the app… I am using Google App with Auth0 lock, the...
Read more >Logout does not seem to be working correctly - Microsoft Q&A
In IIS served application, when I hit Logout it logs out of the application. When I select Login, it automatically logs me into...
Read more >Logout is not working properly · Issue #2422 - GitHub
We won't send you to the logout redirect URI if the logout redirect URI is not registered. That's a dangerous open redirector avenue....
Read more >Everything is fine but logout doesn't work - (Cannot POST ...
It looks like you are making a POST request, but the route is configured for DELETE. You can either update the form HTML...
Read more >Users cannot Logout of My Account/Dashboard not working
Users cannot Logout of My Account/Dashboard not working. Resolved Wils1234 ... However, users can log out by clicking on “Hello User (not User?)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Dear @isopropylcyanide, I tested the app. It works perfect. Thanks.
Logout is by design, achieved here through a stateless mechanism. When you carry no state, there are always trade offs. Hence, if you lose or compromise your token (using it even after a server logout), all is lost. You can read about what happens when you lose a token here
I’m sure the invalidation of a JWT token would be a solved problem (through external means only). You can look around for implementations online. Although I think I can provide a trivial implementation here. Will take some time out today and try to code it up.
Thank you for your comment on the codebase being clean.