Skip to content

Commit 83b85ac

Browse files
committed
dist files: update endpoints to new array only format (#2302)
1 parent 2badffc commit 83b85ac

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

metadata/saml20-sp-remote.php.dist

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,20 @@
1010
* Example SimpleSAMLphp SAML 2.0 SP
1111
*/
1212
$metadata['https://saml2sp.example.org'] = [
13-
'AssertionConsumerService' => 'https://saml2.example.org/module.php/saml/sp/saml2-acs.php/default-sp',
14-
'SingleLogoutService' => 'https://saml2sp.example.org/module.php/saml/sp/saml2-logout.php/default-sp',
13+
'AssertionConsumerService' => [
14+
[
15+
'index' => 1,
16+
'isDefault' => true,
17+
'Location' => 'https://saml2.example.org/module.php/saml/sp/saml2-acs.php/default-sp',
18+
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
19+
],
20+
],
21+
'SingleLogoutService' => => [
22+
[
23+
'Location' => 'https://saml2sp.example.org/module.php/saml/sp/saml2-logout.php/default-sp',
24+
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
25+
],
26+
],
1527
];
1628

1729
/*
@@ -22,7 +34,14 @@ $metadata['https://saml2sp.example.org'] = [
2234
* this user has the value of 'john'.
2335
*/
2436
$metadata['google.com'] = [
25-
'AssertionConsumerService' => 'https://www.google.com/a/g.feide.no/acs',
37+
'AssertionConsumerService' => [
38+
[
39+
'index' => 1,
40+
'isDefault' => true,
41+
'Location' => 'https://www.google.com/a/g.feide.no/acs',
42+
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
43+
],
44+
],
2645
'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
2746
'authproc' => [
2847
1 => [
@@ -34,8 +53,17 @@ $metadata['google.com'] = [
3453
'simplesaml.attributes' => false,
3554
];
3655

56+
3757
$metadata['https://legacy.example.edu'] = [
38-
'AssertionConsumerService' => 'https://legacy.example.edu/saml/acs',
58+
'AssertionConsumerService' => => [
59+
[
60+
'index' => 1,
61+
'isDefault' => true,
62+
'Location' => 'https://legacy.example.edu/saml/acs',
63+
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
64+
],
65+
],
66+
3967
/*
4068
* Currently, SimpleSAMLphp defaults to the SHA-256 hashing algorithm.
4169
* Uncomment the following option to use SHA-1 for signatures directed

0 commit comments

Comments
 (0)