SWU Single Sign On
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:
https://saml.swu.ac.th/simplesaml/saml2/idp/metadata.php
Metadata
In SAML 2.0 Metadata XML format:
<?xml version="1.0"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://saml.swu.ac.th/simplesaml/saml2/idp/metadata.php"> <md:IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIGUzCCBTugAwIBAgIMGR+md3PW7Q8BTZ7NMA0GCSqGSIb3DQEBCwUAMFUxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSswKQYDVQQDEyJHbG9iYWxTaWduIEdDQyBSNiBBbHBoYVNTTCBDQSAyMDIzMB4XDTI0MDcxNjAyMjAyNVoXDTI1MDgxNzAyMjAyNFowFjEUMBIGA1UEAwwLKi5zd3UuYWMudGgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDfI3AphKSjqLR49/E0Dsy2XfQTASNRAwo5AbovRefRb4WQxRkWmnpHyw3PsZLbJPeLT4HudvMfI0v7twS+yvtQG+rZcT/v/8Onkb/g3FEx0iKlu9NdGfluPHsENsGZEMBtWiMS/qjMep3sORWBRCYFYUIZEbEpf8jJ0DvkT/yLsz5rtB84Cw+BsLyWON+TE5Llp5grWANB8XJoZ5rdfHLPT/KIuCfgJrRsYUgl44f4ZZUxPTStrpCwNad+yzqLJEtYlQfMQ5EuedVM2okUXqcMovN3DlAD0MrOY6XSaosPh/yZjyfbB2gx7ZOPUj0eYCqlW93X4Wp0iCAZ6mDV7OitAgMBAAGjggNgMIIDXDAOBgNVHQ8BAf8EBAMC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fRooHx0ac5vBASeCuDE3kC7vDTKXECIEvC61LjH/SNxyqbKv5yyysXV7U6r8QjSb8B4GOOg/1PMA0GCSqGSIb3DQEBCwUAA4IBAQBZA5NkOUPEu5w+3owAzNCiqSorpYO8tFn2/VHbYbFJ6fZDkTOM+i8BvfmkDeZ2l0Fgc0kLrnSLNjoRwbqDB8I3ngDMLFtyQpjRHnXJmHcZI+1uhBuzhRFk8SLABJlj2D9ZYyeg5BitYSRdUd//8AziLbTpIVtG8W3RknmQMZ7+v8DLdKXjQo2itOjyUu+wX9FohQOX2nFPToPKq5DZiLlYNJUGbQs1PvRR2oRd2OVTqzHMkBBbfwhiY/u8q4d6eULh618MA0kZc+WSdFU/Y1pcYIfepneTanoMjI5xx6BOR3lgsALGLBugFy0Zn//FoENydauW4V45EyRk8GQ0pGLu</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:KeyDescriptor use="encryption"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIGUzCCBTugAwIBAgIMGR+md3PW7Q8BTZ7NMA0GCSqGSIb3DQEBCwUAMFUxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSswKQYDVQQDEyJHbG9iYWxTaWduIEdDQyBSNiBBbHBoYVNTTCBDQSAyMDIzMB4XDTI0MDcxNjAyMjAyNVoXDTI1MDgxNzAyMjAyNFowFjEUMBIGA1UEAwwLKi5zd3UuYWMudGgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDfI3AphKSjqLR49/E0Dsy2XfQTASNRAwo5AbovRefRb4WQxRkWmnpHyw3PsZLbJPeLT4HudvMfI0v7twS+yvtQG+rZcT/v/8Onkb/g3FEx0iKlu9NdGfluPHsENsGZEMBtWiMS/qjMep3sORWBRCYFYUIZEbEpf8jJ0DvkT/yLsz5rtB84Cw+BsLyWON+TE5Llp5grWANB8XJoZ5rdf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AJKvSInCS0bZl9+R5dtMPKz79dWxszJGhl//ulLlpPv+AiB+gtvjNREs5ff1tjLRb+ka53/7A8pXUdmr6OcKz3gKiAB1AObSMWNAd4zBEEEG13G5zsHSQPaWhIb7uocyHf0eN45QAAABkLlXWa0AAAQDAEYwRAIgDyVVtDs9rlu9pLfRooHx0ac5vBASeCuDE3kC7vDTKXECIEvC61LjH/SNxyqbKv5yyysXV7U6r8QjSb8B4GOOg/1PMA0GCSqGSIb3DQEBCwUAA4IBAQBZA5NkOUPEu5w+3owAzNCiqSorpYO8tFn2/VHbYbFJ6fZDkTOM+i8BvfmkDeZ2l0Fgc0kLrnSLNjoRwbqDB8I3ngDMLFtyQpjRHnXJmHcZI+1uhBuzhRFk8SLABJlj2D9ZYyeg5BitYSRdUd//8AziLbTpIVtG8W3RknmQMZ7+v8DLdKXjQo2itOjyUu+wX9FohQOX2nFPToPKq5DZiLlYNJUGbQs1PvRR2oRd2OVTqzHMkBBbfwhiY/u8q4d6eULh618MA0kZc+WSdFU/Y1pcYIfepneTanoMjI5xx6BOR3lgsALGLBugFy0Zn//FoENydauW4V45EyRk8GQ0pGLu</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://saml.swu.ac.th/simplesaml/saml2/idp/SingleLogoutService.php"/> <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat> <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://saml.swu.ac.th/simplesaml/saml2/idp/SSOService.php"/> </md:IDPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Administrator</md:GivenName> <md:EmailAddress>admin@g.swu.ac.th</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['https://saml.swu.ac.th/simplesaml/saml2/idp/metadata.php'] = array ( 'metadata-set' => 'saml20-idp-remote', 'entityid' => 'https://saml.swu.ac.th/simplesaml/saml2/idp/metadata.php', 'SingleSignOnService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://saml.swu.ac.th/simplesaml/saml2/idp/SSOService.php', ), ), 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://saml.swu.ac.th/simplesaml/saml2/idp/SingleLogoutService.php', ), ), 'certData' => 'MIIGUzCCBTugAwIBAgIMGR+md3PW7Q8BTZ7NMA0GCSqGSIb3DQEBCwUAMFUxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSswKQYDVQQDEyJHbG9iYWxTaWduIEdDQyBSNiBBbHBoYVNTTCBDQSAyMDIzMB4XDTI0MDcxNjAyMjAyNVoXDTI1MDgxNzAyMjAyNFowFjEUMBIGA1UEAwwLKi5zd3UuYWMudGgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDfI3AphKSjqLR49/E0Dsy2XfQTASNRAwo5AbovRefRb4WQxRkWmnpHyw3PsZLbJPeLT4HudvMfI0v7twS+yvtQG+rZcT/v/8Onkb/g3FEx0iKlu9NdGfluPHsENsGZEMBtWiMS/qjMep3sORWBRCYFYUIZEbEpf8jJ0DvkT/yLsz5rtB84Cw+BsLyWON+TE5Llp5grWANB8XJoZ5rdfHLPT/KIuCfgJrRsYUgl44f4ZZUxPTStrpCwNad+yzqLJEtYlQfMQ5EuedVM2okUXqcMovN3DlAD0MrOY6XSaosPh/yZjyfbB2gx7ZOPUj0eYCqlW93X4Wp0iCAZ6mDV7OitAgMBAAGjggNgMIIDXDAOBgNVHQ8BAf8EBAMCBaAwDAYDVR0TAQH/BAIwADCBmQYIKwYBBQUHAQEEgYwwgYkwSQYIKwYBBQUHMAKGPW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g/1PMA0GCSqGSIb3DQEBCwUAA4IBAQBZA5NkOUPEu5w+3owAzNCiqSorpYO8tFn2/VHbYbFJ6fZDkTOM+i8BvfmkDeZ2l0Fgc0kLrnSLNjoRwbqDB8I3ngDMLFtyQpjRHnXJmHcZI+1uhBuzhRFk8SLABJlj2D9ZYyeg5BitYSRdUd//8AziLbTpIVtG8W3RknmQMZ7+v8DLdKXjQo2itOjyUu+wX9FohQOX2nFPToPKq5DZiLlYNJUGbQs1PvRR2oRd2OVTqzHMkBBbfwhiY/u8q4d6eULh618MA0kZc+WSdFU/Y1pcYIfepneTanoMjI5xx6BOR3lgsALGLBugFy0Zn//FoENydauW4V45EyRk8GQ0pGLu', 'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient', 'contacts' => array ( 0 => array ( 'emailAddress' => 'admin@g.swu.ac.th', 'contactType' => 'technical', 'givenName' => 'Administrator', ), ), );
Certificates
Download the X509 certificates as PEM-encoded files.