Skip to content

Instantly share code, notes, and snippets.

@cooncesean
Created July 26, 2016 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cooncesean/6a0e95794e7d42337bda5c8fa1ca6008 to your computer and use it in GitHub Desktop.
Save cooncesean/6a0e95794e7d42337bda5c8fa1ca6008 to your computer and use it in GitHub Desktop.
<samlp:Response xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\" xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\" Destination=\"http://gears.local.test:8000/api/auth/saml/assertion-consumer-service/?format=json\" ID=\"eamkoiaajjcglmnogdeglkmeijicbmdcghaifmgf\" InResponseTo=\"obnhpcgdgiikfcolkmakkjjlampndbnmfahdkfbf\" IssueInstant=\"2016-07-27T06:18:16Z\" Version=\"2.0\">
<saml:Issuer>http://www.nuskinkorea.co.kr/sso/saml2/idp</saml:Issuer>
<Signature xmlns=\"http://www.w3.org/2000/09/xmldsig#\">
<SignedInfo>
<CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\" />
<SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\" />
<Reference URI=\"\">
<Transforms>
<Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\" />
</Transforms>
<DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\" />
<DigestValue>Otm9VLfiidD55uPxC1fuVfbdQKI=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
6YQGTgeQE5siY03OVBS0d14vifTK1H697zL4IQGjD1V3N99CUq9QFlmzRMSH7dZ9X4/qrb8Zpbga\r\n3r96D1Nm1ykKgwog0M5jCERReTese2k9OWC4rK7fKMggn3ygqCS1EzJw2DP0jwxbn5Gfo7E+2SgI\r\nbuab4Ot3KsEP9gc43PeKCBTsQfbYheYlNdS8iQSE/1B+vX0u0IhDZs8V9m0egqzk7UF7oyYF1yc+\r\nu59xMoEVQ5NviDqmz5875eDjAJe0TjmsqKORd5Zf4ODbFSJV8arsPEBfB9h+zgR89IMhNL8s3ixj\r\nipK70AUPVnY2/pPKW5xK1lYBZvPnV4UFT9vckg==
</SignatureValue>
<KeyInfo>
<KeyValue>
<RSAKeyValue>
<Modulus>
7qRZq3hj6lQXxqnJrOUm32n+HEU989Oc8og6L6AQ9C8vgZHPi4hVMGUptPZjqddkDsMQNLQX3JSl\r\nixCuhTDnfhaEq2ctCLva3xm31mos/yrEwt3mF3h+WwXmVQfpzRkyhR6I9+ERg5hKQSw4473sj8nh\r\nBSWLsrOf4+oFgBsAZ111oL27eZGwz2sB2yGsmVYVKEJu0zC+UcvymDGcs5WFuLZT9AqooDXeMv3s\r\ngLaq9oSWLGX38s1Lw68zA9piZjV723FBaxcUD+h4VqVvcnoNT9D+LDOJbbC8RfEW+tDAtOK7tIV8\r\nb2cmiu6v0R+kX3Wpkce7nAI6eBfW1UcejULfFw==
</Modulus>
<Exponent>
AQAB
</Exponent>
</RSAKeyValue>
</KeyValue>
</KeyInfo>
</Signature>
<samlp:Status>
<samlp:StatusCode Value=\"urn:oasis:names:tc:SAML:2.0:status:Success\" />
</samlp:Status>
<saml:Assertion xmlns=\"urn:oasis:names:tc:SAML:2.0:assertion\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ID=\"cgoohlpiggdkhifiokebgmjkdcafmpffooehnnae\" IssueInstant=\"2016-07-27T06:18:16Z\" Version=\"2.0\">
<saml:Issuer>http://www.nuskinkorea.co.kr/sso/saml2/idp</saml:Issuer>
<saml:Subject>
<saml:NameID Format=\"urn:oasis:names:tc:SAML:2.0:nameid-format:transient\">
gegalbjdfjbbgcajepcjabioppkcmlpeehlelmmi
</saml:NameID>
<saml:SubjectConfirmation Method=\"urn:oasis:names:tc:SAML:2.0:cm:bearer\">
<saml:SubjectConfirmationData InResponseTo=\"obnhpcgdgiikfcolkmakkjjlampndbnmfahdkfbf\" NotOnOrAfter=\"2016-07-28T06:18:16Z\" Recipient=\"http://gears.local.test:8000/api/auth/saml/assertion-consumer-service/?format=json\" />
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore=\"2016-07-26T06:18:16Z\" NotOnOrAfter=\"2016-07-28T06:18:16Z\">
<saml:AudienceRestriction>
<saml:Audience>https://builder.guidebook.com/api/auth/saml/metadata/</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant=\"2016-07-27T06:18:16Z\" SessionIndex=\"cgoohlpiggdkhifiokebgmjkdcafmpffooehnnae\">
<saml:AuthnContext>
<saml:AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:Password
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement>
<saml:Attribute Name=\"primary_email\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\">
<saml:AttributeValue xsi:type=\"xs:string\">KR00000x1</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name=\"first_name\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\">
<saml:AttributeValue xsi:type=\"xs:string\">
hin SeongHo
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name=\"last_name\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\">
<saml:AttributeValue xsi:type=\"xs:string\">S</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment