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 \