keycloak / keycloak

Open Source Identity and Access Management For Modern Applications and Services
https://www.keycloak.org
Apache License 2.0
23.66k stars 6.79k forks source link

Remember me on oidc providers #9600

Open heukoe opened 2 years ago

heukoe commented 2 years ago

Description

I can enable remember me on login form. This is working but only for login with user and password.

But if I add a oidc the remember me doesn't work. Is it possible to add this? Or add a separate remember me for oidc.

keycloak login

Discussion

No response

Motivation

No response

Details

No response

ddurham2 commented 1 year ago

I have the same question. I have Remember Me enabled on the realm. And if a local user account authenticates with it checked, it will keep that user's session between browser restarts.

However, I also have other social media logins enabled, but there seems to be no way (that i have found) to allow login sessions to persists between browser restarts.

Is this currently possible?

Note, if I manually edit the KEYCLOAK_IDENTITY cookie to have a longer expiration before quitting the browser, it actually resumes after the restart, which I believe is basically what the remember me checkbox does for local user accounts.

a-fournier commented 3 months ago

Hi, Will this feature be implemented in the next versions or should we still implement a custom extension?

maczernik commented 2 months ago

Are there any news of this issue?

Would would be the best workaround for it now? Using something like https://github.com/Herdo/keycloak-remember-me-authenticator or maybe something that changes the cookies or tokens on FE?