Logging in as different user fails
See original GitHub issueIssue
My app stores tokens on the device after login, and does logout by clearing device storage. However when I try to login again as a different user, after entering the credentials in the browser instance I get the message
You are already authenticated as different user 'foo@bar.com' in this session. Please logout first.
Clearing the browser cache solves the problem. Is there anything I’m missing to properly handle logout?
Environment
- Your Identity Provider:
Keycloak
- Platform that you’re experiencing the issue on:
iOS and Android
- Are you using Expo? No
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
Logging on a user account fails - Windows Server
This article solves an issue where logging on a user account that's a member of more than 1,010 groups fails. Applies to: Windows...
Read more >Unable to sign in when Run as different user
Run as different user (one with elevated DB access) sign in fails. Visual Studiowindows 10.0visual studio 2019 version 16.1.6. Pinned.
Read more >Fix Other User Login Screen - YouTube
Login screen says other user how do I fix? Can't log in, Other User. I show you how to fix Other User on...
Read more >“Other User” Windows Login Problem - NeoSmart Technologies
Cause 1: Corrupted user profiles in registry · Cause 2: TDSS/Alureon virus infection · Cause 3: Deleted user profiles · Cause 4: FlipShare...
Read more >How to Fix User Profile Cannot be Loaded in Windows 10?
If the error The User Profile Service failed the sign-in appears when you first log in to the computer under a new account,...
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 try to call end_session_endpoint of my keycloak and i have success to logout user.
Change {realm} with your realm configuration and you have the url to execute the fetch.
example:
http://keycloakhost:keycloakport/auth/realms/{realm}/protocol/openid-connect/logout?id_token_hint=your_keycloak_token
Here is what I do