sso-kustom/components/hydra-saml/files/hydra/saml.yaml

31 lines
1.0 KiB
YAML
Raw Normal View History

2023-02-01 16:18:47 +01:00
hydra:
apps:
- id: saml
2023-07-26 14:45:24 +02:00
title:
2023-02-01 16:18:47 +01:00
fr: Connexion SAML
en: Login SAML
2023-07-26 14:45:24 +02:00
description:
2023-02-01 16:18:47 +01:00
fr: Authentification avec SAML
en: Authentication with SAML
login_url: "%env(string:HYDRA_DISPATCHER_SAML_LOGIN_URL)%"
consent_url: "%env(string:HYDRA_DISPATCHER_SAML_CONSENT_URL)%"
2023-02-27 09:36:36 +01:00
logout_url: "%env(string:HYDRA_DISPATCHER_SAML_LOGOUT_URL)%"
attributes_rewrite_configuration:
uid:
rules:
- "property_exists(consent.session.id_token, 'uid') ? consent.session.id_token.uid : null"
email:
rules:
- "property_exists(consent.session.id_token, 'email') ? consent.session.id_token.email : null"
eduPersonAffiliation:
rules:
- "property_exists(consent.session.id_token, 'eduPersonAffiliation') ? consent.session.id_token.eduPersonAffiliation : null"
firewall:
rules:
email:
required: false
uid:
required: false
eduPersonAffiliation:
2023-07-26 14:45:24 +02:00
required: false