From b2597190ff58416139fe68462e9e7dd7869e3419 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 dccf2aa..1baf0e8 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/envole/auth/ \ -e OIDC_REDIRECT_URL=https://auth.lescrous.fr/oauth2/callback \ -e OIDC_POST_LOGOUT_REDIRECT_URL=https://auth.lescrous.fr \