Disable or remove Keycloak sessions

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!