User Sessions persistence in RHBK 26

Solution Verified - Updated -

Issue

  • How can I avoid loosing users sessions across a server restart ?
  • How are Keycloak User Sessions persisted ? In the DB, or only in Memory, or in both ?
  • I saw in database that there is a table called USER_SESSION, I guess the sessions can be persisted into the database by configuration so that they would survive a rollout or server restart. Is this true ?

Environment

  • Red Hat Build of Keycloak (RHBK)
    • 26.x+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content