Abiquo 5.2.1 introduces multiple identity providers (IdPs) for the SAML integration.
When the user enters their email address to log in, Abiquo will select the IdP based on its domain name, or it will use the default IdP.
In this version, Abiquo will use the same IdP configuration for all providers, for example, it will search for the same abq-role attribute to match an Abiquo role.
To configure an existing SAML integration with more IdPs, do these steps on the Abiquo Server:
Save the metadata for the new IdPs, as for the first IdP
For the default IdP, edit the metadata and set the Default attribute
To set the default IdP, add the new abiquo.saml.metadata.identityprovider.default.id property
To map the user email domains to IdPs, set the new abiquo.saml.metadata.identityprovider.userdomain.map property with a comma separated list of keys and values. For example:
Do not use a comma ',' in a key or a value
Do not use use an equals sign '=' in the key
For this feature, there is a new /saml/idp endpoint in the Abiquo API where the UI will send a GET request with the user domain. This endpoint will return a redirect to the usual /saml/login endpoint with the appropriate IdP. Then the login will continue as for a single IdP.
When you enable this feature, Abiquo will change the XML security metadata of the Abiquo application