Skip to content

Commit fdf7acb

Browse files
committed
🔧(helm) add user name in oidc scopes
The given_name and usual_name is not configured in the oidc scopes. When a user connect to docs with the dev and feature configuration, we don't have this informations.
1 parent db94bf5 commit fdf7acb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/helm/env.d/dev/values.impress.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ backend:
4141
OIDC_RP_CLIENT_ID: docs
4242
OIDC_RP_CLIENT_SECRET: ThisIsAnExampleKeyForDevPurposeOnly
4343
OIDC_RP_SIGN_ALGO: RS256
44-
OIDC_RP_SCOPES: "openid email"
44+
OIDC_RP_SCOPES: "openid email given_name usual_name"
4545
LOGIN_REDIRECT_URL: https://docs.127.0.0.1.nip.io
4646
LOGIN_REDIRECT_URL_FAILURE: https://docs.127.0.0.1.nip.io
4747
LOGOUT_REDIRECT_URL: https://docs.127.0.0.1.nip.io

src/helm/env.d/feature/values.impress.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ backend:
4242
OIDC_RP_CLIENT_ID: docs
4343
OIDC_RP_CLIENT_SECRET: ThisIsAnExampleKeyForDevPurposeOnly
4444
OIDC_RP_SIGN_ALGO: RS256
45-
OIDC_RP_SCOPES: "openid email"
45+
OIDC_RP_SCOPES: "openid email given_name usual_name"
4646
LOGIN_REDIRECT_URL: https://{{ .Values.feature }}-docs.{{ .Values.domain }}
4747
LOGIN_REDIRECT_URL_FAILURE: https://{{ .Values.feature }}-docs.{{ .Values.domain }}
4848
LOGOUT_REDIRECT_URL: https://{{ .Values.feature }}-docs.{{ .Values.domain }}

0 commit comments

Comments
 (0)