Skip to content

Commit a1b8a0a

Browse files
author
GitHub Actions
committed
Update the missing parameter in auth set up
1 parent 2b3c1f4 commit a1b8a0a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ auth:
4545
metadataUrl: ${AUTH_OIDC_METADATA_URL}
4646
clientId: ${AUTH_OIDC_CLIENT_ID}
4747
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
48-
prompt: auto #add this config
48+
prompt: auto
4949
signInPage: oidc
50-
dangerouslyAllowSignInWithoutUserInCatalog: true
5150
----
5251

5352
`environment: production`::
@@ -59,10 +58,12 @@ To configure the OIDC provider with your secrets.
5958
`sigInPage: oidc`::
6059
To enable the OIDC provider as default sign-in provider.
6160

61+
`prompt: auto`::
62+
To allow the identity provider to automatically determine whether to prompt for credentials or bypass the login redirect if an active {rhsso} session exists.
63+
6264
[NOTE]
6365
====
64-
* Set your {product-short} ConfigMap to `prompt: auto` to allow the identity provider to automatically determine whether to prompt for credentials or bypass the login redirect if an active {rhsso} session exists. If this value is not set, the identity provider defaults to `prompt: none`, which assumes that you are already logged in. As a result, rejects the sign-in request without an active session.
65-
* `prompt: login` forces the identity provider to always require credentials from the user.
66+
If `prompt: auto` is not set, the identity provider defaults to `prompt: none`, which assumes that you are already logged in and rejects sign-in requests without an active session.
6667
====
6768

6869
Optional: Consider adding the following optional fields:
@@ -85,7 +86,7 @@ auth:
8586
metadataUrl: ${AUTH_OIDC_METADATA_URL}
8687
clientId: ${AUTH_OIDC_CLIENT_ID}
8788
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
88-
prompt: auto #add this config
89+
prompt: auto
8990
signInPage: oidc
9091
dangerouslyAllowSignInWithoutUserInCatalog: true
9192
----

0 commit comments

Comments
 (0)