fix(authentik-application): allow multiple redirect urls for oidc
This commit is contained in:
parent
111083334b
commit
077a2a37ea
6 changed files with 20 additions and 5 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: authentik-application
|
||||
description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
||||
type: application
|
||||
version: "0.4.7"
|
||||
version: "0.4.8"
|
||||
maintainers:
|
||||
- name: WrenIX
|
||||
url: https://wrenix.eu
|
||||
|
|
|
@ -7,7 +7,7 @@ description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
|||
|
||||
# authentik-application
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A Chart to deploy a secret for the authentik blueprint-sidecar.
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
blueprint:
|
||||
provider:
|
||||
oidc:
|
||||
redirectURL: "https://url"
|
|
@ -2,6 +2,6 @@ blueprint:
|
|||
provider:
|
||||
oidc:
|
||||
redirectURL:
|
||||
- matching_mode: "regex"
|
||||
url: "https://regex.url"
|
||||
- "https://url"
|
||||
- matching_mode: "regex"
|
||||
url: "https://regex.url"
|
7
authentik-application/ci/ct-oidc-redirect-values.yaml
Normal file
7
authentik-application/ci/ct-oidc-redirect-values.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
blueprint:
|
||||
provider:
|
||||
oidc:
|
||||
redirectURL:
|
||||
- matching_mode: "regex"
|
||||
url: "https://regex.url"
|
||||
- "https://url"
|
|
@ -25,7 +25,11 @@ stringData:
|
|||
redirectURL: {{ .redirectURL | quote }}
|
||||
{{- else }}
|
||||
{{- $url := .redirectURL | first}}
|
||||
redirectURL: {{ ternary $url (get $url "url") (kindIs "string" .redirectURL) | quote }}
|
||||
{{- if (kindIs "string" $url) }}
|
||||
redirectURL: {{ $url | quote }}
|
||||
{{- else }}
|
||||
redirectURL: {{ get $url "url" | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .tokenDuration }}
|
||||
|
|
Loading…
Add table
Reference in a new issue