# Disable or remove Keycloak sessions

**URL:** <https://forum.keycloak.org/t/disable-or-remove-keycloak-sessions/16906>\
**Category:** Miscellanaeous\
**Created:** [August 15, 2022, 6:45am UTC](https://forum.keycloak.org/t/disable-or-remove-keycloak-sessions/16906 "2022-08-15T06:45:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eldarj](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/eldarj/32/4365_2.png) [@eldarj](https://forum.keycloak.org/u/eldarj)\
**Post date:** [August 15, 2022, 6:45am UTC](https://forum.keycloak.org/t/disable-or-remove-keycloak-sessions/16906/1 "2022-08-15T06:45:34Z")

</div>

I am using Keycloak’s forms and browser flows for authenticating users ie. redirecting from my app to Keycloak and vice versa.

I noticed that Keycloak persists sessions - which cause me issues once the user is logged id., such as:

- You are already logged in
- You are logged in with different user  
etc.

I’d like to get rid of Keycloak sessions, as I don’t use these once authentication is done.

How can I achieve this? Can I disable it through UI?

I do know that I can use direct grant flow, but I need to use the forms in place that I have. If this isn’t possible through UI, can someone suggest what providers I could look into and possibly extend, in order to remove sessions once login is done?

Thanks!
