From 49e28155dc47134e9eaae99f20f0458d547075a1 Mon Sep 17 00:00:00 2001 From: peter- <peter-@users.noreply.github.com> Date: Tue, 9 Jun 2015 09:18:40 +0200 Subject: [PATCH] use $metadata array for example IDP and SP metadata As per https://groups.google.com/forum/#!topic/simplesamlphp/nFXerlX839E --- docs/simplesamlphp-googleapps.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/simplesamlphp-googleapps.txt b/docs/simplesamlphp-googleapps.txt index 23660ec1f..8ff960a09 100644 --- a/docs/simplesamlphp-googleapps.txt +++ b/docs/simplesamlphp-googleapps.txt @@ -135,7 +135,7 @@ If you want to setup a SAML 2.0 IdP for Google Apps, you need to configure two m This is the configuration of the IdP itself. Here is some example config: // The SAML entity ID is the index of this config. Dynamic:X will automatically generate an entity ID (Reccomended) - '__DYNAMIC:1__' => array( + $metadata['__DYNAMIC:1__'] => array( // The hostname of the server (VHOST) that this SAML entity will use. 'host' => '__DEFAULT__', @@ -160,7 +160,7 @@ In the (`saml20-sp-remote.php`) file we will configure an entry for Google Apps * at Google Apps. E.g. if your google account is foo.com, and you have a user with email john@foo.com, then you * must set the simplesaml.nameidattribute to be the name of an attribute that for this user has the value of 'john'. */ - 'google.com' => array( + $metadata['google.com'] => array( 'AssertionConsumerService' => 'https://www.google.com/a/g.feide.no/acs', 'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress', 'simplesaml.nameidattribute' => 'uid', -- GitLab