[keycloak-user] Remember me doesn't work after keycloak restart

Stian Thorgersen sthorger at redhat.com
Mon Oct 3 06:03:00 EDT 2016


JPA provider was removed a long time ago.

On 3 October 2016 at 11:21, Edgar Vonk - Info.nl <Edgar at info.nl> wrote:

> Hi Stian,
>
> How does this relate to a previous remark you made regarding persisting
> user sessions:
> http://lists.jboss.org/pipermail/keycloak-user/2015-April/001921.html
>
> Also I do see Java code in Keycloak related to persisting user sessions
> and there is the USER_SESSIONS database table?
>
> With the correct settings in keycloak-server.json with caching disabled
> should Keycloak persist user sessions?
>
> cheers
>
> Edgar
>
>
> User sessions are not persisted which is why users have to re-authenticate
> after server is restarted. To make sessions work cross server restarts you
> need a cluster with multiple server nodes and increase owners for the user
> session cache.
>
> On 28 September 2016 at 09:44, Mariusz Chruscielewski - Info.nl <http://info.nl> <mariusz at info.nl <https://lists.jboss.org/mailman/listinfo/keycloak-user>> wrote:
>
> >* Hi. Is it possible to persist sessions after keycloak restart? We are
> *>* using remember me functionality, and after keycloak server is restarted,
> *>* all users have to login again (I’m not sure if this is about session, or
> *>* maybe some other remember-me-session). Is there any way to configure that?
> *>* Thanks in advance.
> *>>>>* Kind Regards,
> *>>>>* Mariusz Chruscielewski*
>
>
>


More information about the keycloak-user mailing list