From 5f8b3146e781cfde576be4ab168a10d5e903f92d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 13 Oct 2009 07:25:58 +0000 Subject: [PATCH] Adding info about multiple saml sps git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1847 44740490-163a-0410-bde0-09ae8108e29a --- docs/simplesamlphp-sp.txt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/simplesamlphp-sp.txt b/docs/simplesamlphp-sp.txt index a598682f7..d1c7d4f1b 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 --------------------- -- GitLab