<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to read the Issuer value from a SAMLRequest message within the SAML Response Script Editor? in Workforce Identity Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411468#M1949</link>
    <description>&lt;P&gt;So is there an existing function\variable to read in the raw SAMLRequest message?  Reviewing the published docs and the script help available in the editor I'm not seeing an option for this.  I can certainly take a stab at processing the raw message to extract an individual element, but I need the initial raw value to begin.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 13:49:22 GMT</pubDate>
    <dc:creator>CKubiak</dc:creator>
    <dc:date>2024-09-10T13:49:22Z</dc:date>
    <item>
      <title>Is it possible to read the Issuer value from a SAMLRequest message within the SAML Response Script Editor?</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411466#M1947</link>
      <description>&lt;P&gt;The AssertionConsumerServiceURL global variable appears to function this way, it will be populated with the AssertionConsumerServiceURL value contained within the SP AuthnRequest message.  I see there is a Issuer global variable but this appears to only populate the Issuer value of from the IdP configuration rather than the value delivered by the SP in the AuthnRequest.  &lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 15:05:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411466#M1947</guid>
      <dc:creator>CKubiak</dc:creator>
      <dc:date>2024-09-06T15:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to read the Issuer value from a SAMLRequest message within the SAML Response Script Editor?</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411467#M1948</link>
      <description>&lt;P&gt;Hi @Chris Kubiak​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think in the SAML Response Script Editor, you cannot directly access the Issuer value from the SAMLRequest using the built-in Issuer global variable, as that variable is intended to reflect the Idp’s Issuer rather than the SP’s Issuer from the SAMLRequest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to retrieve the Issuer value from the AuthnRequest sent by the SP, you will likely need to parse the raw SAMLRequest yourself, especially since the SAML scripting environment may not expose all of the values in the AuthnRequest directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might need to base64 decode and then deflate the SAMLRequest, then extract the Issuer from the decoded XML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 23:51:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411467#M1948</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-09-07T23:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to read the Issuer value from a SAMLRequest message within the SAML Response Script Editor?</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411468#M1949</link>
      <description>&lt;P&gt;So is there an existing function\variable to read in the raw SAMLRequest message?  Reviewing the published docs and the script help available in the editor I'm not seeing an option for this.  I can certainly take a stab at processing the raw message to extract an individual element, but I need the initial raw value to begin.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:49:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411468#M1949</guid>
      <dc:creator>CKubiak</dc:creator>
      <dc:date>2024-09-10T13:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to read the Issuer value from a SAMLRequest message within the SAML Response Script Editor?</title>
      <link>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411469#M1950</link>
      <description>&lt;P&gt;Hi @Chris Kubiak​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have flexibility in your environment, you can use external SAML libraries to handle parsing the request outside of your script. For example, integrating a SAML library at the application level would allow you to decode, decompress, and extract values from the SAMLRequest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest to raise a Support case&lt;/P&gt;&lt;P&gt;and clarify it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:53:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/workforce-identity-discussions/is-it-possible-to-read-the-issuer-value-from-a-samlrequest/m-p/1411469#M1950</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-09-13T10:53:39Z</dc:date>
    </item>
  </channel>
</rss>

