From 5bba8b978e1a192edf0f1d2c384d9204ac67935c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Gourv=C3=A9nec?= Date: Wed, 19 Apr 2023 10:41:44 +0200 Subject: [PATCH] goweb-oidc: get client password --- templates/cadoles-pod-goweb-oidc-v1.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cadoles-pod-goweb-oidc-v1.conf.j2 b/templates/cadoles-pod-goweb-oidc-v1.conf.j2 index 21a3bf7..6667361 100644 --- a/templates/cadoles-pod-goweb-oidc-v1.conf.j2 +++ b/templates/cadoles-pod-goweb-oidc-v1.conf.j2 @@ -6,7 +6,7 @@ PODMAN_ARGS="\ -e LOG_LEVEL=0 \ -e HTTP_ADDRESS=0.0.0.0:3002 \ -e OIDC_CLIENT_ID=mse-demo \ - -e OIDC_CLIENT_SECRET=mse-demo \ + -e OIDC_CLIENT_SECRET={{ hydra_clients|selectattr('client_id', 'equalto', 'mse-demo')|map(attribute='client_secret')|first }} \ -e OIDC_ISSUER_URL=https://pp.messervices.etudiant.gouv.fr/auth/ \ -e OIDC_REDIRECT_URL=https://auth.lescrous.fr/oauth2/callback \ -e OIDC_POST_LOGOUT_REDIRECT_URL=https://auth.lescrous.fr \