@@ -107,13 +107,23 @@ config:
107107 # from LDAP. The default is not to redirect.
108108 on_ldap_search_result_empty: https://my.vo.org/please/go/enroll
109109
110- # The microservice may be configured per entityID.
110+ # The microservice may be configured per entityID or per extracted attribute .
111111 # The configuration key is the entityID of the requesting SP,
112- # the authenticating IdP, or the entityID of the CO virtual IdP.
113- # When more than one configured entityID matches during a flow
114- # the priority ordering is requesting SP, then authenticating IdP, then
112+ # the authenticating IdP, the entityID of the CO virtual IdP, or the
113+ # extracted attribute defined by `global.provider_attribute`.
114+ # When more than one configured key matches during a flow
115+ # the priority ordering is provider attribute, requesting SP, then authenticating IdP, then
115116 # CO virtual IdP. Αny missing parameters are taken from the
116117 # default configuration.
118+ global:
119+ provider_attribute: domain
120+
121+ # domain attribute is extracted in a previous microserver and used as a key
122+ # here.
123+ company.com:
124+ ldap_url: ldaps://ldap.company.com
125+ search_base: ou=group,dc=identity,dc=company,dc=com
126+
117127 https://sp.myserver.edu/shibboleth-sp:
118128 search_base: ou=People,o=MyVO,dc=example,dc=org
119129 search_return_attributes:
@@ -130,3 +140,4 @@ config:
130140 # The microservice may be configured to ignore a particular entityID.
131141 https://another.sp.myserver.edu:
132142 ignore: true
143+
0 commit comments