From 54497c12618fc1801a57a900ff899ff5e6331be2 Mon Sep 17 00:00:00 2001 From: Samuel Paccoud - DINUM Date: Fri, 23 Feb 2024 09:04:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F(settings)=20remove=20defa?= =?UTF-8?q?ult=20value=20for=20setting=20OIDC=5FRP=5FCLIENT=5FSECRET?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Secret settings should not contain any default value as we risk shipping them to production. The default value can be set via an environment variable in the `env.d/development/common` file: OIDC_RP_CLIENT_SECRET --- src/backend/people/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/people/settings.py b/src/backend/people/settings.py index b5505ed..a19031d 100755 --- a/src/backend/people/settings.py +++ b/src/backend/people/settings.py @@ -293,7 +293,6 @@ class Base(Configuration): "people", environ_name="OIDC_RP_CLIENT_ID", environ_prefix=None ) OIDC_RP_CLIENT_SECRET = values.Value( - "ThisIsAnExampleKeyForDevPurposeOnly", environ_name="OIDC_RP_CLIENT_SECRET", environ_prefix=None, )