Skip to content

Instantly share code, notes, and snippets.

@cooncesean
Created July 27, 2016 18:51
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/d7d9c401fe86021c6a78c181142b3c04 to your computer and use it in GitHub Desktop.
Save cooncesean/d7d9c401fe86021c6a78c181142b3c04 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<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="bgmpjgehfobgkgepbjaohmcfladfbklaapacelji" InResponseTo="bcjkibjaembeempdgkicgbplmkkipinaebgjhcci" IssueInstant="2016-07-28T03:43:01Z" 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>kUNp5gsVEUbOXu1UL5DEbWIWtg4=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>Jsjf/Pn6PgKmjAonneV/Mn1Dpda9B+gLpffAV1NiFgS6WbiKx/JdRIcfsBWQlwG10pprnifTOFqX\r\n3j7qHYxMYaXFYPSx3feLDA4PGS1DrvkoYDGcNAXECQjhofZ0/B4ToK6ASIW4ykPvEpoTHb4YrzKO\r\nYO8oxzARj0SejzgNDiZGszx1eNzHoXeLFNWoKuOuu3tbHtQO6/BYN6cNgCEPeO8uYCzb8f1NwCK9\r\n8mJ4aFi3zs1/uO2AXvgng7lRQ/G3erjjRb9WE0I3TWC1aJ8VXtx4ol8EYAjcaiSlP87iEtoU1Ubo\r\npKNQ/RZqpxDceiqZeJnyMN+fgcg+g++/aL4uHg==</SignatureValue>
<KeyInfo>
<KeyValue>
<RSAKeyValue>
<Modulus>7qRZq3hj6lQXxqnJrOUmuHn+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="idbodokobajkbfdflphalnmhfkngdndhdbaemfpp" IssueInstant="2016-07-28T03:43:01Z" 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">eaokpajfkmejaccfodhmpaonbdghcdbcalhjgcek</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData InResponseTo="bcjkibjaembeempdgkicgbplmkkipinaebgjhcci" NotOnOrAfter="2016-07-29T03:43:01Z" Recipient="http://gears.local.test:8000/api/auth/saml/assertion-consumer-service/?format=json" />
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2016-07-27T03:43:01Z" NotOnOrAfter="2016-07-29T03:43:01Z">
<saml:AudienceRestriction>
<saml:Audience>https://builder.guidebook.com/api/auth/saml/metadata/</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="2016-07-28T03:43:01Z" SessionIndex="idbodokobajkbfdflphalnmhfkngdndhdbaemfpp">
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</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">KR0000001</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