Skip to content

Instantly share code, notes, and snippets.

@cooncesean
Created July 26, 2016 21:39
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/8c3ac9deb741d4954d40d27a13b846bd to your computer and use it in GitHub Desktop.
Save cooncesean/8c3ac9deb741d4954d40d27a13b846bd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://636e911f.ngrok.io/api/auth/saml/assertion-consumer-service/" ID="_ac0ac9af7c8f1cb84c060b8834b775fe" IssueInstant="2016-07-26T21:28:14.973Z" Version="2.0">
<saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://accounts.google.com/o/saml2?idpid=C02i33ie3</saml2:Issuer>
<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="#_ac0ac9af7c8f1cb84c060b8834b775fe">
<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>h9YEjEgf-irLD/fEMMzW7Qvv9YFn80w4gwmoHDauxaY=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>hmOuUP9jL1qyPbp/oHvblQMEo2+k5JUUYzisYTYJAp5cGoYlp2MfIf1LGD8xyXhzQX6oIpx6nRulA\nXwgvLkxDNm+lWEO3TRafF9lSM9Ei+g10Nm81XdgS9E6YLWzFZThD2QhgpmrLuoz5bvTXI3xVi1E7\n13DdUVhLHJkKgEnvO2Btm420d1yzfOZEBCrg55R6fn43IEeW61D1oiTzH0dGylX3iFgbSxv3WlaY\njx08Kj8Phi6sgJ70RPZZ5CUbZAabefh3ndV05ysAI9STFr8AzoJWenP82iKw6vPDkMmtymZvtQRZ\nmGsXELI5wdQPUPAYg5WqD0DQzxQI9k13yBeR0g==</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509SubjectName>ST=California,C=US,OU=Google For Work,CN=Google,L=Mountain View,O=Google Inc.</ds:X509SubjectName>
<ds:X509Certificate>FOIDdDCCAlygAwIBAgIGAVNjAW48880GCSqGSIb3DQEBCwUAMHsxFDASBgNVBAoTC0dvb2dsZSBJ\nbmMuMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MQ8wDQYDVQQDEwZHb29nbGUxGDAWBgNVBAsTD0dv\nb2dsZSBGb3IgV29yazELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWEwHhcNMTYwMzEx\nMDAwOTA5WhcNMjEwMzEwMDAwOTA5WjB7MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEWMBQGA1UEBxMN\nTW91bnRhaW4gVmlldzEPMA0GA1UEAxMGR29vZ2xlMRgwFgYDVQQLEw9Hb29nbGUgRm9yIFdvcmsx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAjN4uylwRMaKe+022mW9G3yWNtf/1T3acF40ARktV4W1jzWcoBrGOmWS8GnH4PbbT\nelJlaInQ9Y/lcezLwMwSBlNkYeL/nFqL4MQyIbLpO+DQg0jHbIGbSRhHIp5+GpWvASbEqLxXV8V+\nQo3+HKj2s35mHSRRgBhhJ35UXOiP5Vr8bfUEgsIkp8GGK+dVh6Oz0AXhpKGgumWyeHQW1hYtKnlL\nJZY8lY0FKH8t5Ocge6YHucHRQ/pMDWPDf0NGBGXXoNyrF81TcVK72QcJ5F6F/7t04NfP43m7QmqY\nKtR4e1aFpCOQWQUCA1VFZibEt0v4PuC+lT9w0zvDao1N6FevtQIDAQABMA0GCSqGSIb3DQEBCwUA\nA4IBAQAkBWC4tuUe2QC4tIv4NOXBgwbZrtdn18uYR0QDtJgtk/PHDB15HTiRAUOAe2AmxjQ3cAMX\nnHTh5YVxF1FoA+6Hz2SFNcYlcT0uyoXsFXEBePJAMI0g1jCaHEfbpOqsDSOTudfsbMb3ntCk2ZdB\n0pJVEMt1sth4dHmbbGhXB3UhPb+xceCMoNQSlMu41s15qEps0OQB+Mz0u/HoQMqdJ6eSTYCgRbrC\nbXE7kf+hHnAqQMMTP3V5/29N/6+0tQorqgbX/Lh7+0Bipjs7L2Gd+WN0v7/kFVNFgPbNtla1URsQ\nUfabihtQDo+hhBGoS2daeuqfQIqtDIHoH0v2KC+AMxit</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<saml2p:Status>
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" />
</saml2p:Status>
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="_564cd0ba9f166e80c74008f8e842fb04" IssueInstant="2016-07-26T21:28:14.973Z" Version="2.0">
<saml2:Issuer>https://accounts.google.com/o/saml2?idpid=C02i33ie3</saml2:Issuer>
<saml2:Subject>
<saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">sean@seancoonce.com</saml2:NameID>
<saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml2:SubjectConfirmationData NotOnOrAfter="2016-07-26T21:33:14.973Z" Recipient="https://636e911f.ngrok.io/api/auth/saml/assertion-consumer-service/" />
</saml2:SubjectConfirmation>
</saml2:Subject>
<saml2:Conditions NotBefore="2016-07-26T21:23:14.973Z" NotOnOrAfter="2016-07-26T21:33:14.973Z">
<saml2:AudienceRestriction>
<saml2:Audience>https://636e911f.ngrok.io</saml2:Audience>
</saml2:AudienceRestriction>
</saml2:Conditions>
<saml2:AttributeStatement>
<saml2:Attribute Name="urn:oid:2.5.4.42">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">Sean - ?????</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oid:2.5.4.4">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">Coonce</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oid:0.9.2342.19200300.100.1.1">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">sean@seancoonce.com</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
<saml2:AuthnStatement AuthnInstant="2016-07-26T20:54:37.000Z" SessionIndex="_564cd0ba9f166e80c74008f83842fb0X">
<saml2:AuthnContext>
<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml2:AuthnContextClassRef>
</saml2:AuthnContext>
</saml2:AuthnStatement>
</saml2:Assertion>
</saml2p:Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment