Skip to content

Instantly share code, notes, and snippets.

@Rohithzr
Created February 22, 2020 03:46
Show Gist options
  • Save Rohithzr/9bf1bc854e8a3ad79e68e1d41fbc7154 to your computer and use it in GitHub Desktop.
Save Rohithzr/9bf1bc854e8a3ad79e68e1d41fbc7154 to your computer and use it in GitHub Desktop.
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_7daeed5d448c454a61cf" Version="2.0" IssueInstant="2020-02-21T19:35:18.607Z" Destination="https://manage.auth0.com/tester/samlp">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:tenant.auth0.com</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Version="2.0" ID="_jHWZRBU4zpCsgQhIfssMrcHSDrzpcxy8" IssueInstant="2020-02-21T19:35:18.603Z">
<saml:Issuer>urn:tenant.auth0.com</saml:Issuer>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#_jHWZRBU4zpCsgQhIfssMrcHSDrzpcxy8">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>acatu6n...Wbfn0HXzFEdOgHU=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>vuPbxIgAfl/b...+tcySyx7qgfmTMjt8LIDAWtXJCPIsUkOvoPTOrOt...RREVD/jbpwPMrjl45YJKi5...9aOw==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MA0GCSqGSIb3DQEBCwUAMCExHzAdBgNVBAMTFmtleXN0b25lbGFicy5hdXRoMC5jb20wHhcNMTcw...NBz3mJ4d1Qk=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">email@domain.com</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2020-02-21T20:35:18.603Z" Recipient="https://manage.auth0.com/tester/samlp"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2020-02-21T19:35:18.603Z" NotOnOrAfter="2020-02-21T20:35:18.603Z"/>
<saml:AuthnStatement AuthnInstant="2020-02-21T19:35:18.603Z" SessionIndex="_6FMu74xjovsSFkxddbH8l4ILk48yQxDi">
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<saml:Attribute Name="https://aws.amazon.com/SAML/Attributes/RoleSessionName" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="xs:string">username</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="https://aws.amazon.com/SAML/Attributes/SessionDuration" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="xs:double">43200</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