[SSO]: SSO requires re-login into my auth provider #450

Closed
opened 2026-02-04 19:38:28 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Robin-Sch on GitHub (Mar 27, 2024).

I'm using keycloak as my auth provider and the following config:

OIDC_ISSUER=https://auth.mydomain.com/realms/homelab
OIDC_CLIENT_ID=planka
OIDC_CLIENT_SECRET=<redacted>
OIDC_SCOPES=openid profile email
OIDC_ADMIN_ROLES=ignored
OIDC_ROLES_ATTRIBUTE=ignored
OIDC_IGNORE_ROLES=true
OIDC_ENFORCED=true

Whenever I open planka, and click "Log in with SSO", keycloak will always ask me to re-login again. Even if I'm already logged in.

Originally created by @Robin-Sch on GitHub (Mar 27, 2024). I'm using keycloak as my auth provider and the following config: ``` OIDC_ISSUER=https://auth.mydomain.com/realms/homelab OIDC_CLIENT_ID=planka OIDC_CLIENT_SECRET=<redacted> OIDC_SCOPES=openid profile email OIDC_ADMIN_ROLES=ignored OIDC_ROLES_ATTRIBUTE=ignored OIDC_IGNORE_ROLES=true OIDC_ENFORCED=true ``` Whenever I open planka, and click "Log in with SSO", keycloak will always ask me to re-login again. Even if I'm already logged in.
Author
Owner

@meltyshev commented on GitHub (Mar 27, 2024):

Hi! It seems that this should be configurable in Keycloak itself and it's not related to Planka settings. Maybe just the "Remember Me" setting is turned off: https://www.keycloak.org/docs/latest/server_admin/#enabling-remember-me.

@meltyshev commented on GitHub (Mar 27, 2024): Hi! It seems that this should be configurable in Keycloak itself and it's not related to Planka settings. Maybe just the "Remember Me" setting is turned off: https://www.keycloak.org/docs/latest/server_admin/#enabling-remember-me.
Author
Owner

@Robin-Sch commented on GitHub (Mar 27, 2024):

For other services I didn't need this setting and it would automatically log me in without requiring me to re-login, but yes, enabling this indeed fixed it.

@Robin-Sch commented on GitHub (Mar 27, 2024): For other services I didn't need this setting and it would automatically log me in without requiring me to re-login, but yes, enabling this indeed fixed it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#450