@@ -101,6 +101,20 @@ web:
101101# keysRotationPeriod: "6h"
102102# algorithm: "RS256" # supported values: "RS256" (default) and "ES256"; changes apply on the next key rotation
103103
104+ # Authentication sessions configuration.
105+ # Requires DEX_SESSIONS_ENABLED=true feature flag.
106+ # sessions:
107+ # cookieName: "dex_session"
108+ # absoluteLifetime: "24h"
109+ # validIfNotUsedFor: "1h"
110+ # rememberMeCheckedByDefault: false
111+ # # AES key for encrypting session cookies. Must be 16, 24, or 32 bytes.
112+ # # If empty, cookies are not encrypted.
113+ # cookieEncryptionKey: ""
114+ # # Default SSO sharing policy for clients without explicit ssoSharedWith.
115+ # # "all" = share with all clients (Keycloak-like), "none" = no sharing (default).
116+ # ssoSharedWithDefault: "none"
117+
104118# OAuth2 configuration
105119# oauth2:
106120# # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
@@ -159,6 +173,19 @@ web:
159173# allowedConnectors:
160174# - github
161175# - google
176+ #
177+ # # Example of SSO sharing between clients.
178+ # # ssoSharedWith defines which other clients can reuse this client's session.
179+ # # ["*"] = share with all, [] = share with no one.
180+ # # If omitted, ssoSharedWithDefault from sessions config is used.
181+ # - id: portal-app
182+ # secret: portal-secret
183+ # redirectURIs:
184+ # - 'https://portal.example.com/callback'
185+ # name: 'Portal'
186+ # ssoSharedWith:
187+ # - "dashboard-app"
188+ # - "admin-app"
162189
163190# Connectors are used to authenticate users against upstream identity providers.
164191#
0 commit comments