SAML 2.0 SP Metadata
Here is the metadata that SimpleSAMLphp has generated for you. You may send this metadata document to trusted partners to setup a trusted federation.
You can get the metadata xml on a dedicated URL:
http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/metadata.php/sp-adfs.tromso.intra.custompublish.com
Metadata
In SAML 2.0 Metadata XML format:
<?xml version="1.0"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="sp-adfs.tromso.intra.custompublish.com" ID="_37a57e71e2aa98f680dc0f45dc577b1a6d066496cfb191883a0bd13a9b63fb5e"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <ds:Reference URI="#_37a57e71e2aa98f680dc0f45dc577b1a6d066496cfb191883a0bd13a9b63fb5e"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>V9I/zL6E25pAKBaRbLXG8ulM5XbUn1a15A4TDRAO7X0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>ZQz6xp+mfYQvsxXGTGikQ4Fdq4LniI0rTxG7R0uO8tf9jf2VR+moi9CWlphHtG6Jjg9TZwqJyY8slIfY4rQpAGt1ArujIEYstmRzXQ8NWtZhm0w+p+RTs7kTEjprFl0raBFSdJ+Z4Y+s2M/qqhw5RnCnIkCdbFoEevvyAFCCRqeJs3F31HvNaO5nQOYnIcdsEAtU0I6Hrcx2yLO26T+Gbk8csPA0DEX9zGly7M2oJTH6g8n4XVnT6KrN1O6f4S8efLnsaV9vQPnZSd6oefaEA1OOEy2W0/cKFSWkpl3K9/SdXfoCXpN6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ds:Signature> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol"> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-logout.php/sp-adfs.tromso.intra.custompublish.com"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-acs.php/sp-adfs.tromso.intra.custompublish.com" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml1-acs.php/sp-adfs.tromso.intra.custompublish.com" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-acs.php/sp-adfs.tromso.intra.custompublish.com" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml1-acs.php/sp-adfs.tromso.intra.custompublish.com/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Administrator (CustomPublish AS)</md:GivenName> <md:EmailAddress>mailto:svein@custompublish.com</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
In SimpleSAMLphp flat file format - use this if you are using a SimpleSAMLphp entity on the other side:
$metadata['sp-adfs.tromso.intra.custompublish.com'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-logout.php/sp-adfs.tromso.intra.custompublish.com', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-acs.php/sp-adfs.tromso.intra.custompublish.com', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml1-acs.php/sp-adfs.tromso.intra.custompublish.com', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml2-acs.php/sp-adfs.tromso.intra.custompublish.com', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'http://fredheim.skole.gran.no/sp-adfs/module.php/saml/sp/saml1-acs.php/sp-adfs.tromso.intra.custompublish.com/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'svein@custompublish.com', 'contactType' => 'technical', 'givenName' => 'Administrator (CustomPublish AS)', ], ], ];