add signout() method to UserSession
See original GitHub issueI think we should add userSession.signout()
which under the hood would call the (apparently undocumented cc @patrickarlt) oauth2/signout REST end point.
I swear I already opened this issue, but I can’t find it. @skitterm also recently asked me about this, so that’s 2 interested parties.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Chapter 8: Log in, log out | Ruby on Rails Tutorial (3rd Ed.)
In this section and Section 8.2, we'll use the Rails method called session to make ... We'll then complete user login in Section...
Read more >Firebase logout user all sessions - Stack Overflow
Generating id for a user session every time user is logging in. Add this id to ... return buf[0]; } function signin(){ firebase.auth()....
Read more >Write a web app that signs in/out users - Microsoft Entra
Learn how to add sign-in to the code for your web app that signs in users. Then, learn how to let them sign...
Read more >User LogIn and LogOut for React | Back4app Guides
logIn method stores in your local storage a valid user session, so future calls to methods like current will successfully retrieve your User...
Read more >Client API - NextAuth.js
In order to logout, use the signOut() method to ensure the user ends back on the page they started on after completing the...
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
I agree w/r/t esri_auth cookie, but I think invalidating the token is useful for everyone.
I did not know that, but it would make sense. If so, it seems like docs around that endpoint could be useful to others beyond us “Online” developers.