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

Is it normal that the session in keycloak stays active when i use the signOut() function? #3270

Closed
Uniiq opened this issue Nov 24, 2021 · 2 comments
Labels
question Ask how to do something or how something works

Comments

@Uniiq
Copy link

Uniiq commented Nov 24, 2021

Question 💬

hello!

I`m having an issue with next-auth keycloak provider. After successfully sign in into the application using the keycloack provider a session is generated in keycloak. When i am signOut the session stays active. The problem is when i sign in again the user logging into the application without being redirected to keycloak login mask. That can be problematic when the user shares the device with someone else or when he want to change the account.

Is it possible to destroy the keycloak session when the user calls the signOut() function?

How to reproduce ☕️

  1. sign in with the keycloak provider (nextAuth 4.0.0-beta.6)
  2. sign out
  3. sign in again

Contributing 🙌🏽

Yes, I am willing to help answer this question in a PR

@Uniiq Uniiq added the question Ask how to do something or how something works label Nov 24, 2021
@Uniiq Uniiq changed the title Is is normal that the session in keycloak stays active when i use the signOut() function? Is it normal that the session in keycloak stays active when i use the signOut() function? Nov 24, 2021
@balazsorban44
Copy link
Member

yes. federated logout is not currently supported outbox the box. #836

@Uniiq
Copy link
Author

Uniiq commented Nov 25, 2021

@balazsorban44 thx for the answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Ask how to do something or how something works
Projects
None yet
Development

No branches or pull requests

2 participants