wip: integrate hydra-sql in example environment
This commit is contained in:
30
components/hydra-sql/files/hydra/sql.yaml
Normal file
30
components/hydra-sql/files/hydra/sql.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
hydra:
|
||||
apps:
|
||||
- id: sql
|
||||
title:
|
||||
fr: Connexion SQL
|
||||
en: Login SQL
|
||||
description:
|
||||
fr: Authentification avec SQL
|
||||
en: Authentication with SQL
|
||||
login_url: "%env(string:HYDRA_DISPATCHER_SQL_LOGIN_URL)%"
|
||||
consent_url: "%env(string:HYDRA_DISPATCHER_SQL_CONSENT_URL)%"
|
||||
logout_url: "%env(string:HYDRA_DISPATCHER_SQL_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:
|
||||
required: false
|
Reference in New Issue
Block a user