Skip to content

Commit f01a263

Browse files
committed
RHIDP-4684 Update Keycloak configuration instructions to improve performance and security
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
1 parent c987a9d commit f01a263

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

modules/authentication/proc-enabling-authentication-with-rhsso.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,20 @@ auth:
168168
----
169169
--
170170

171+
`auth.backstageTokenExpiration`::
172+
--
173+
To change {product-short} token expiration from the default value of one hour.
174+
Note that this is not the session duration, but rather the duration that the short-term cryptographic tokens are valid for.
175+
You cannot set the expiration value lower than 10 minutes or above 24 hours.
176+
177+
.`app-config-rhdh.yaml` fragment with optional `auth.backstageTokenExpiration` field
178+
[source,yaml,subs="+quotes"]
179+
----
180+
auth:
181+
backstageTokenExpiration: { minutes: _<user_defined_value>_ }
182+
----
183+
--
184+
171185
--
172186

173187
.Verification

0 commit comments

Comments
 (0)