-
-
Notifications
You must be signed in to change notification settings - Fork 11
Logout not working (Keystone <-> Keycloak ) #265
Comments
Also, looking at nextauthjs/next-auth#3938 |
Hi @smarques This is something that is complicated by both how Keystone handles the signout and how Next handles a signout. Currently the behaviour is that clicking signout just clears the local cookie - using the default Navigation component in Keystone. This is something that probably could bemade better in your own project by customising the Navigation component and using the Next-auth react logout function https://keystonejs.com/docs/guides/custom-admin-ui-navigation#navigation-container. We would then potentially need to expose some of the |
Yes I have already replaced the navigation with my own, in order to override the Sign Out Button component.
Thanks for any help |
Great, you should be able to add your own middleware that adds further functionality you need using the keystone Yes, The plugin does allow for multiple auth providers. As each provider might have a slightly different structure in what they provide to My recommendation, in this case, is to not have You should be able to add a |
Hi, I have completed a test integration with Keycloak as identity provider using your backend example. Everything works fine except for the logout function. Here's how I reproduce the problem:
If I check in Keycloak I can see the user's session is still active. I think there should be a way for keystone to signal to keycloak that the user has ended their session. I know the .well-known file exposes a end_session_endpoint, I am wondering if this should be used somehow.
TIA
The text was updated successfully, but these errors were encountered: