Skip to content

Commit f64c1e7

Browse files
authored
Merge pull request #100811 from bergerhoffer/OCPBUGS-60626
OCPBUGS#60626: Adding extra scopes
2 parents b5b3b86 + cda43ab commit f64c1e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/external-auth-configuring.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ spec:
9292
- clientID: console-test # <13>
9393
clientSecret:
9494
name: console-secret # <14>
95+
componentName: console
96+
componentNamespace: openshift-console
97+
extraScopes: # <15>
98+
- email
99+
- profile
95100
----
96101
<1> Must be set to `OIDC` to indicate to use an external OIDC identity provider.
97102
<2> Must be set to `null` when `type` is set to `OIDC`.
@@ -107,6 +112,7 @@ spec:
107112
<12> The client ID that your provider uses for the {oc-first}.
108113
<13> The client ID that your provider uses for the {product-title} web console.
109114
<14> The name of the secret that stores the secret value for the console client.
115+
<15> The extra scopes to request. Some providers, such as GitLab, might require extra scopes in order to log in through the web console properly.
110116
+
111117
For more details on all available parameters, see "OIDC provider configuration parameters".
112118

0 commit comments

Comments
 (0)