Skip to content

Commit c02c1e4

Browse files
committed
support openid
1 parent 64eccea commit c02c1e4

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

charts/codimd/templates/auth-secret.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ stringData:
104104
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR: {{ .Values.codimd.authentication.oauth2.attributes.email | toString | quote }}
105105
{{ end }}
106106

107+
{{/* Authentication - OpenID */}}
108+
{{ if .Values.codimd.authentication.openID.enabled }}
109+
CMD_OPENID: {{ .Values.codimd.authentication.openID.enabled | toString | quote }}
110+
{{ end }}
111+
107112
{{/* Authentication - OAuth2 */}}
108113
{{ if .Values.codimd.authentication.saml.enabled }}
109114
CMD_SAML_IDPSSOURL: {{ .Values.codimd.authentication.saml.idpSSOUrl | toString | quote }}

charts/codimd/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ codimd:
229229
username:
230230
displayName:
231231
email:
232+
openID:
233+
enabled: false
232234
saml:
233235
enabled: false
234236
idpSSOUrl:

0 commit comments

Comments
 (0)