Skip to content

Commit

Permalink
fix(authelia): oidc authz subject rendering (#274)
Browse files Browse the repository at this point in the history
This fixes an issue rendering the oidc authz subject.
  • Loading branch information
james-d-elliott authored Dec 3, 2024
1 parent 49aef94 commit 6a794a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.9.13
version: 0.9.14
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
9 changes: 8 additions & 1 deletion charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,14 @@ data:
rules:
{{- range $policy.rules }}
- policy: {{ .policy | default "deny" | squote }}
subject: {{ .subject | squote }}
subject:
{{- if kindIs "string" .subject }}
- [{{ .subject | squote }}]
{{- else }}
{{- range .subject }}
- [{{ include "authelia.squote.join" . }}]
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 6a794a3

Please sign in to comment.