Skip to content

Instantly share code, notes, and snippets.

@leedm777
Created October 20, 2021 21:52
Show Gist options
  • Save leedm777/fef30aa7bf90060235cf7ffd2d4f1e0f to your computer and use it in GitHub Desktop.
Save leedm777/fef30aa7bf90060235cf7ffd2d4f1e0f 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="_b33cb8126c3354c8b911aede0cc0233a20ae4c834f" Version="2.0" IssueInstant="2021-10-20T16:10:24Z" Destination="http://localhost:3000/saml/consume" InResponseTo="_8cba835e975fafe849fe"><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="#_b33cb8126c3354c8b911aede0cc0233a20ae4c834f"><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>RueWveZxD9XficqDjUa17cGQZDU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>nZClB02eStdtfLSUjZnEfdxxmEhGF+8xUzJtJ8OjBxvpv9LloukWCFUaebwYvcZlfBLHTpNzmoHzt+3Thl7Oc2Y5SDADpIzXG4wgYCTaUaaHasFZCF4u5k0uE9vGLKM+yhOINH+AWS9Q9u6PG4y7AAepMhjdt9/kthmlIHWeDnZMwW+eu9uTLqi7/jTNg0QfU7hwGcodn2o3+l7CQ65FyTrmuL0rofc5oLbWqVXbLekBe2NbEMAP+Ii/f3a6LhiGElHh5EifTiwP3d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SBwTCBvoAUY/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="_ade0c1276ccef480bf09809ebef6f064346bdde88d" Version="2.0" IssueInstant="2021-10-20T16:10:24Z"><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="#_ade0c1276ccef480bf09809ebef6f064346bdde88d"><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>crkZdIv7903LLzfjlhf5HEFrxCE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>UeMmpHwRdA3L82NREFuWkea8KZUGmW/z66k42uqnxf8lduLqcx4/GB9pDPhEn0s3E+tjZIlmiSuWhgBliK3vHyZwjAwfwT5mUSDAffdsxBZaqUAluovvfjF76kjsWbEB/8Sw6/z/OlSwzqYjR+6HdYkGVT4pm3+tpaG+IOTWJ8QugP2V1pkxU6o0HTNCBbx8GNtZEbUUv7knw/SdHJSjV2FpoBtYrHdzoi08yeRIFPLVvtAnUvmQbvrXvZg51w4kGkOqEx1n/dY4/hrdlFZoG7qGDAio/gb9+3UncR1dvsszPGtOCwgGXJKFQ5kArPNN8fAF1GlZ1lgKKTKwE7mAFQ==</ds:SignatureValue>
<ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIEqjCCA5KgAwIBAgIJAK6evcd7BmtQMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQUwxEzARBgNVBAcTCkh1bnRzdmlsbGUxFTATBgNVBAoTDERpZ2l1bSwgSW5jLjEMMAoGA1UECxMDU1NPMRswGQYDVQQDExJzdGFnaW5nLmRpZ2l1bS5jb20xITAfBgkqhkiG9w0BCQEWEm1icm9va3NAZGlnaXVtLmNvbTAeFw0xMzAyMDEwNDUyNTBaFw0yMzAyMDEwNDUyNTBaMIGUMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQUwxEzARBgNVBAcTCkh1bnRzdmlsbGUxFTATBgNVBAoTDERpZ2l1bSwgSW5jLjEMMAoGA1UECxMDU1NPMRswGQYDVQQDExJ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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:15:24Z" Recipient="http://localhost:3000/saml/consume" InResponseTo="_8cba835e975fafe849fe"/></saml:SubjectConfirmation></saml:Subject><saml:Conditions NotBefore="2021-10-20T16:09:54Z" NotOnOrAfter="2021-10-20T16:15:24Z"><saml:AudienceRestriction><saml:Audience>dcs-my-sp-dev</saml:Audience></saml:AudienceRestriction></saml:Conditions><saml:AuthnStatement AuthnInstant="2021-10-20T16:10:24Z" SessionNotOnOrAfter="2021-10-21T16:10:24Z" SessionIndex="_fc795c1ba77f0d74a9f206de0dcd5f85377f0ce894"><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">[email protected]</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</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 16:10:09</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