Skip to content

Commit

Permalink
fix: allow unverified email
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicCoder committed Jan 23, 2025
1 parent a6e5152 commit dfddaef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator/default_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ deploykf_core:
##
enableSignInPage: false

insecureAllowUnverifiedEmail: true

## oauth2-proxy cookie configs
##
cookie:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ skip_provider_button = false
skip_provider_button = true
{{- end }}


{{- if .Values.oauth2Proxy.insecureAllowUnverifiedEmail }}
insecure_oidc_allow_unverified_email = true
{{- else }}
insecure_oidc_allow_unverified_email = false
{{- end }}

## oauth2-proxy sends "force" by default, which causes dex to always prompt for login
## https://github.com/dexidp/dex/pull/3086
prompt = "none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ oauth2Proxy:
## NOTE: this prevents background requests being redirected and accumulating CSRF cookies
enableSignInPage: {{< .Values.deploykf_core.deploykf_auth.oauth2Proxy.enableSignInPage | conv.ToBool >}}

insecureAllowUnverifiedEmail: {{< .Values.deploykf_core.deploykf_auth.oauth2Proxy.insecureAllowUnverifiedEmail | conv.ToBool >}}

## OpenID configs for oauth2-proxy
##
oidc:
Expand Down

0 comments on commit dfddaef

Please sign in to comment.