From d26c7ac7eabfa196548b50419dd15b4a3ad58c6b Mon Sep 17 00:00:00 2001 From: MaverickD650 <92877124+MaverickD650@users.noreply.github.com> Date: Thu, 8 Dec 2022 19:24:32 +0000 Subject: [PATCH] feat(authelia) enable OAuth Consent Options (#5215) * initial * add descriptions --- charts/stable/authelia/Chart.yaml | 2 +- charts/stable/authelia/questions.yaml | 13 +++++++++++++ charts/stable/authelia/templates/_configmap.tpl | 1 + charts/stable/authelia/values.yaml | 3 +++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/charts/stable/authelia/Chart.yaml b/charts/stable/authelia/Chart.yaml index b6f12da1d0b..50d78bb675d 100644 --- a/charts/stable/authelia/Chart.yaml +++ b/charts/stable/authelia/Chart.yaml @@ -39,7 +39,7 @@ sources: - https://github.com/authelia/chartrepo - https://github.com/authelia/authelia type: application -version: 14.0.10 +version: 14.0.11 annotations: truecharts.org/catagories: | - security diff --git a/charts/stable/authelia/questions.yaml b/charts/stable/authelia/questions.yaml index 0296d482654..0857f58d4e0 100644 --- a/charts/stable/authelia/questions.yaml +++ b/charts/stable/authelia/questions.yaml @@ -912,6 +912,19 @@ questions: description: "one_factor" - value: "two_factor" description: "two_factor" + - variable: consent_mode + label: "Consent Mode" + description: "Configures the consent mode. This can be set to auto (default), explicit (consent required every time) or implicit (Automatically assumes consent for every authorization, never asking the user if they wish to give consent." + schema: + type: string + default: "auto" + enum: + - value: "auto" + description: "auto" + - value: "explicit" + description: "explicit" + - value: "implicit" + description: "implicit" - variable: userinfo_signing_algorithm label: "Userinfo Signing Algorithm" description: "The algorithm used to sign userinfo endpoint responses for this client, either none or RS256." diff --git a/charts/stable/authelia/templates/_configmap.tpl b/charts/stable/authelia/templates/_configmap.tpl index 57d75320032..ca0842c6d98 100644 --- a/charts/stable/authelia/templates/_configmap.tpl +++ b/charts/stable/authelia/templates/_configmap.tpl @@ -205,6 +205,7 @@ data: public: {{ $client.public }} {{- end }} authorization_policy: {{ default "two_factor" $client.authorization_policy }} + consent_mode: {{ default "auto" $client.consent_mode}} redirect_uris: {{- range $client.redirect_uris }} - {{ . }} diff --git a/charts/stable/authelia/values.yaml b/charts/stable/authelia/values.yaml index 6856e92d6d6..49f6e609aa1 100644 --- a/charts/stable/authelia/values.yaml +++ b/charts/stable/authelia/values.yaml @@ -586,6 +586,9 @@ identity_providers: ## The policy to require for this client; one_factor or two_factor. # authorization_policy: two_factor + ## Configures the consent mode; auto, explicit or implicit + # consent_mode: auto + ## Audience this client is allowed to request. # audience: []