ansible-role-sso/templates/cadoles-pod-goweb-oidc-v1.conf.j2

15 lines
570 B
Django/Jinja

# {{ ansible_managed }}
PODMAN_ARGS="\
--name 'cadoles-pod-goweb-oidc-demo-v1' \
--replace \
-p 80:3002 \
-e LOG_LEVEL=0 \
-e HTTP_ADDRESS=0.0.0.0:3002 \
-e OIDC_CLIENT_ID=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 \
-e OIDC_ACR_VALUES= \
"