diff --git a/docs/simplesamlphp-sp.txt b/docs/simplesamlphp-sp.txt index a598682f7391a7b9a8b5ab1670726c64f5e36b6f..d1c7d4f1b0296f28c840de4b6df3f6aa0d81100b 100644 --- a/docs/simplesamlphp-sp.txt +++ b/docs/simplesamlphp-sp.txt @@ -17,10 +17,9 @@ This guide will describe how to configure simpleSAMLphp as a service provider (S Configuring the SP ------------------ -The SP is configured by an entry in config/authsources.php. -After your initial setup, you should +The SP is configured by an entry in `config/authsources.php`. -This is a minimal authsources.php for a SP: +This is a minimal `authsources.php` for a SP: <?php $config = array( @@ -33,6 +32,17 @@ This is a minimal authsources.php for a SP: For more information about additional options available for the SP, see the [`saml:SP` reference](https://rnd.feide.no/content/saml-service-provider-configuration-reference). +If you want mulitple Service Providers in the same site and installation, you can add more entries in the `authsources.php` configuration. If so remember to set the EntityID explicitly. Here is an example: + + 'sp1' => array( + 'saml:SP', + 'entityID' => 'https://sp1.example.org/, + ), + 'sp2' => array( + 'saml:SP', + 'entityID' => 'https://sp2.example.org/, + ), + Adding IdPs to the SP ---------------------