Skip to content

Instantly share code, notes, and snippets.

@leedm777
Created October 20, 2021 21:52
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 leedm777/f5b5e14c5faedb8d3888833c0aa470b2 to your computer and use it in GitHub Desktop.
Save leedm777/f5b5e14c5faedb8d3888833c0aa470b2 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" ID="_5374c53f02acf8540b710c2094de44cdd3c81299e1" Version="2.0" IssueInstant="2021-10-20T16:09:02Z" Destination="http://localhost:3000/saml/consume" InResponseTo="_3fed94d9fcc6cc4e9ff0"><saml:Issuer>https://idp.staging.digium.com/simplesaml/saml2/idp/metadata.php</saml: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/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_5374c53f02acf8540b710c2094de44cdd3c81299e1"><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/2000/09/xmldsig#sha1"/><ds:DigestValue>pVwks5IkJxMIOkDhA7vzfWia84I=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>kOy7co55tRd8LlRlULqTv56Tbo3mTXrajKr+PY0M88j5bV9OxchaTXYEwWOTto06LbB67rWj95134AAA0AKYn5o2wCHJoGlLFrRA+yK3sWJZurIANVo3clG9Y8yfT/Jc4xh3AcWEpxfVQm7ZJphiitwXiuke6HJ6RfZMSFhNu51Z32FvbR4C2wMw+G2leOWrM9JvBUmQN+AwTEGrIWv94Wxd9hU8gZpXbDT2kz2su5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jIsZ9lcA8GEG6FCUwgckGA1UdIwSBwTCBvoAUY/u7ZQfo/osjIsZ9lcA8GEG6FCWhgZqkgZcwgZQxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJBTDETMBEGA1UEBxMKSHVudHN2aWxsZTEVMBMGA1UEChMMRGlnaXVtLCBJbmMuMQwwCgYDVQQLEwNTU08xGzAZBgNVBAMTEnN0YWdpbmcuZGlnaXVtLmNvbTEhMB8GCSqGSIb3DQEJARYSbWJyb29rc0BkaWdpdW0uY29tggkArp69x3sGa1AwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEATWjuTh7f28eRPXoc80dt2yIm9JXO2ruNLgAZoRVlbU+NXt7Td/pGeJBby0zDCa4GI+WkZHWXXNo7MD6lCKsTi5tropgbja3/UrfcGF1CwJ23oWgJVkityi4NHdXhvmcS18wtgLQm5irgubZQvZ/Ku04kh/Pj8Ga/VvjWAPpXrOHS3S8QcodKL98R1I1IX4yDHwz9nPXBCneTpApl7lBXNxn8XAIanA899ibvip95Cv8SvKIJJ/2bFm5LIGi6JimLFXNDJ8PqowODuhMH/ET9IUlflE8CS2o4x5xmRLbGOKXZeUdVYbte/m2PvHdQKthgvkVZ/WQxOrM3DyHO5AetEA==</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/></samlp:Status><saml:Assertion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" ID="_e744f19028826cf50759f579ed07d9bd6416357d8d" Version="2.0" IssueInstant="2021-10-20T16:09:02Z"><saml:Issuer>https://idp.staging.digium.com/simplesaml/saml2/idp/metadata.php</saml: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/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_e744f19028826cf50759f579ed07d9bd6416357d8d"><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/2000/09/xmldsig#sha1"/><ds:DigestValue>lwn4vvzOs03LuiLtAU3JTChfHHg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>kLg8e/dcOjqAnawo4eFEfp4NmXGIpTtfO8ku8dnEYmoGHM1E/GU+wXndaxAiLPJiH0ywptoQ9jRZgEzEEFz6x2LDZWuyQjJZiVNni9FyXTGfrIiQLTX9Dw1PYf/Gg8tyjKWr/Oz2AaVOF1e9UoU4k4iu4+5ozLhW5OJ8bg2kbRfuIYyuNqQK7SS7/g1yrDyNJQozL2UPJfK/O49PrBW3W55r17Dto84TC//76VaudyH2dinNAAokwiOA5YOmEr4vTJA+BwgTKUHY545k56grr6sulcdAuyY/+BWucz29U1ezGWA7X/RrdvYInO39hwycdtPJvmTz8RDYf4BVJZ2qBQ==</ds:SignatureValue>
<ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIEqjCCA5KgAwIBAgIJAK6evcd7BmtQMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQUwxEzARBgNVBAcTCkh1bnRzdmlsbGUxFTATBgNVBAoTDERpZ2l1bSwgSW5jLjEMMAoGA1UECxMDU1NPMRswGQYDVQQDExJzdGFnaW5nLmRpZ2l1bS5jb20xITAfBgkqhkiG9w0BCQEWEm1icm9va3NAZGlnaXVtLmNvbTAeFw0xMzAyMDEwNDUyNTBaFw0yMzAyMDEwNDUyNTBaMIGUMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQUwxEzARBgNVBAcTCkh1bnRzdmlsbGUxFTATBgNVBAoTDERpZ2l1bSwgSW5jLjEMMAoGA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XAIanA899ibvip95Cv8SvKIJJ/2bFm5LIGi6JimLFXNDJ8PqowODuhMH/ET9IUlflE8CS2o4x5xmRLbGOKXZeUdVYbte/m2PvHdQKthgvkVZ/WQxOrM3DyHO5AetEA==</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><saml:Subject><saml:NameID SPNameQualifier="dcs-my-sp-dev" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:email">amy_pond_d5f4d6a463b100638985176</saml:NameID><saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><saml:SubjectConfirmationData NotOnOrAfter="2021-10-20T16:14:02Z" Recipient="http://localhost:3000/saml/consume" InResponseTo="_3fed94d9fcc6cc4e9ff0"/></saml:SubjectConfirmation></saml:Subject><saml:Conditions NotBefore="2021-10-20T16:08:32Z" NotOnOrAfter="2021-10-20T16:14:02Z"><saml:AudienceRestriction><saml:Audience>dcs-my-sp-dev</saml:Audience></saml:AudienceRestriction></saml:Conditions><saml:AuthnStatement AuthnInstant="2021-10-20T16:09:02Z" SessionNotOnOrAfter="2021-10-21T16:09:02Z" SessionIndex="_82a74a12a83fde3168ec2ded1bf22b39485a0577ef"><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="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">amy_pond_d5f4d6a463b100638985176</saml:AttributeValue></saml:Attribute><saml:Attribute Name="email" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">amy.pond.dr@mailsac.com</saml:AttributeValue></saml:Attribute><saml:Attribute Name="id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">0031800000i4Q0zAAE</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">Amy</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">Pond</saml:AttributeValue></saml:Attribute><saml:Attribute Name="phone" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">256.555.1212</saml:AttributeValue></saml:Attribute><saml:Attribute Name="active" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="katana_user_id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">2377089</saml:AttributeValue></saml:Attribute><saml:Attribute Name="street" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">123 Main St&#13;
Suite 11</saml:AttributeValue></saml:Attribute><saml:Attribute Name="city" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">Huntsville</saml:AttributeValue></saml:Attribute><saml:Attribute Name="state" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">AL</saml:AttributeValue></saml:Attribute><saml:Attribute Name="zip" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">35801</saml:AttributeValue></saml:Attribute><saml:Attribute Name="country" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">US</saml:AttributeValue></saml:Attribute><saml:Attribute Name="username" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">amy_pond_d5f4d6a463b100638985176</saml:AttributeValue></saml:Attribute><saml:Attribute Name="is_admin" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="is_deal_admin" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">0</saml:AttributeValue></saml:Attribute><saml:Attribute Name="job_title" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">User</saml:AttributeValue></saml:Attribute><saml:Attribute Name="validated" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="agreed_to_terms" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="created" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">2020-08-31 21:23:18</saml:AttributeValue></saml:Attribute><saml:Attribute Name="updated" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">2021-10-20 15:51:53</saml:AttributeValue></saml:Attribute><saml:Attribute Name="export_compliance_status" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">Needs Review</saml:AttributeValue></saml:Attribute><saml:Attribute Name="company" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">Switchvox Cloud DR</saml:AttributeValue></saml:Attribute><saml:Attribute Name="account_id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">0011800000u7aIZAAY</saml:AttributeValue></saml:Attribute><saml:Attribute Name="account_country" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string"></saml:AttributeValue></saml:Attribute><saml:Attribute Name="katana_org_id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1952845</saml:AttributeValue></saml:Attribute><saml:Attribute Name="level_group" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">Unaffiliated</saml:AttributeValue></saml:Attribute><saml:Attribute Name="account_number" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1952845</saml:AttributeValue></saml:Attribute><saml:Attribute Name="customer_class" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">END USER</saml:AttributeValue></saml:Attribute><saml:Attribute Name="price_level" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">WEB</saml:AttributeValue></saml:Attribute><saml:Attribute Name="account_in_dcs" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="dcs_account_number" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">DCS951326</saml:AttributeValue></saml:Attribute><saml:Attribute Name="level_of_qualification" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">Unaffiliated</saml:AttributeValue></saml:Attribute><saml:Attribute Name="agent_level" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string"></saml:AttributeValue></saml:Attribute><saml:Attribute Name="phone2" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string"></saml:AttributeValue></saml:Attribute><saml:Attribute Name="phone3" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string"></saml:AttributeValue></saml:Attribute><saml:Attribute Name="phone4" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string"></saml:AttributeValue></saml:Attribute><saml:Attribute Name="status" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">ACTIVE</saml:AttributeValue></saml:Attribute><saml:Attribute Name="portal_id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">06080000000IY10</saml:AttributeValue></saml:Attribute><saml:Attribute Name="organization_id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">00D18000000CojD</saml:AttributeValue></saml:Attribute><saml:Attribute Name="siteurl" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string">https://staging-digiumcommunity.cs23.force.com/customer</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