Skip to content

Commit c987a9d

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 9c33568 commit c987a9d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Save the value for the next step:
2323
* **Client ID**
2424
* **Client Secret**
2525

26+
.. Configure your {rhsso} realm for performance and security:
27+
... Navigate to the **Configure > Realm Settings**.
28+
... Set the **Access Token Lifespan** to a value greater than 5 min (ideally 10 or 15 minutes) to avoid performance issue caused by unnecessary refresh token requests sent for every API call.
29+
... Enable the **Revoke Refresh Token** option to improve security by enabling the refresh token rotation strategy.
30+
2631
.. To prepare for the verification steps, in the same realm, get the credential information for an existing user or link:https://docs.redhat.com/en/documentation/red_hat_single_sign-on/7.6/html-single/getting_started_guide/index#create-user_[create a user]. Save the user credential information for the verification steps.
2732

2833
. To add your {rhsso} credentials to your {product-short} secrets, edit your {product-short} secrets, such as `secrets-rhdh`, and add the following key/value pairs:

0 commit comments

Comments
 (0)