* Nicolas Toniazzi <
nicolas....@gmail.com> [2015-10-27 10:42]:
> - the user has to choose a company from the list, but it's already
> defined in the SP (part of the URL)
> - the list of companies is exposed
Seems you've written your own module that behaves equivalent to
ldap:LDAPMulti then? Then all the disclaimers for that apply in your
case as well.
Cases like yours are not covered in the SAML spec, i.e., "if the SP
equals X use authentication source/method Y on IDP Z."
If the "customer" (company, IDP tenent) is somehow encoded into the
SAML authentiaction request then you'll probably want to add code to
your SSP instance to pull out the tenant identifier and pick the
appropriate auth source in your IDP automatically.
(No idea how to do that, but others may chime it.)
> The solution of having one IDP per company seems a bit complex as we
> currently have over 200 companies and new ones are being added regularly.
> That's why we wanted to "simply" pass the company unique identified from
> the SP to the IDP. I'll investigate this solution though.
You can do that (and I understand you're doing that already) but as
the behaviour you're after is nothing that's defined in the SAML (or
any other) spec SimpleSAMLphp does not have code to handle exactly
that case.
-peter