multiple idp metadata entries in saml20-idp-remote.php

198 views
Skip to first unread message

Naeem Muhammad

unread,
Nov 6, 2018, 6:54:28 AM11/6/18
to SimpleSAMLphp
Hi,
Is it possible to define multiple idp metadata entries in saml20-idp-remote.php and link each entry (idp) to a separate authentication source in authsources.php? For example:


saml20-idp-remote.php:
$metadata['idp1'] = array();
$metadata['idp2'] = array();


authsources.php:
'sp-1' => array( 'idp' => idp1
);

'sp-2' => array( 'idp' => idp1
);

It is obviously possible to have multiple authentication sources in authsources.php, but i am not sure how to link them to each $metadata entry in saml20-idp-remote.php. Any insight in this regard will be highly appreciated.

Thanks.

Kind Regards,
Naeem Muhammad

pat...@cirrusidentity.com

unread,
Nov 6, 2018, 1:55:43 PM11/6/18
to SimpleSAMLphp
If you look at the 'idp' option documented https://simplesamlphp.org/docs/stable/saml:sp#section_4
you'll fine you put the IdP entity ID as the value of the 'idp' key in your authsource.

- Patrick

Naeem Muhammad

unread,
Nov 7, 2018, 7:40:50 AM11/7/18
to SimpleSAMLphp
Thanks Patrick for pointing out what i did not perceive correctly.

Greetings,
Naeem Muhammad
Reply all
Reply to author
Forward
0 new messages