<?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 SAML Login problem: Saml response does not contain group information. in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706684#M21067</link>
    <description>&lt;P&gt;Hello. I am trying to get SAML authentication working on Splunk Enterprise using our local IdP, which is SAML 2.0 compliant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully authenticate against the IdP, which returns the assertion, but Splunk won't let me in. I get this error: "Saml response does not contain group information."&lt;/P&gt;&lt;P&gt;I know Splunk looks for a 'role' variable, but our assertion does not return that. Instead, it returns "memberOf", and I added that to authentication.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[authenticationResponseAttrMap_SAML]
role = memberOf&lt;/LI-CODE&gt;&lt;P&gt;I also map the role under roleMap_SAML.&lt;/P&gt;&lt;P&gt;It seems like no matter what I do, no matter what I put, I get the&amp;nbsp;"Saml response does not contain group information." response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a ticket open with tech support, but at the moment, they're not sure what the issue is.&amp;nbsp; Here's a snippet (masked) of the assertion response:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;saml2:Attribute FriendlyName="memberOf" Name="urn:oid:1.2.xxx.xxxxxx.1.2.102"
                             NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"&amp;gt;
     &amp;lt;saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"&amp;gt;
                    xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:some-group
     &amp;lt;/saml2:AttributeValue&amp;gt;
&amp;lt;/saml2:Attribute&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Feeling out of options, I asked ChatGPT (I know, I know), and it said that the namespace our assertion is using may be the issue. It said that Splunk uses the "saml" namespace, but our IdP is returning "saml2". I don't know if that's the actual issue nor, if it is, what to do about it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunkd.log shows the error message that I'm seeing in the web interface:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;12-12-2024 15:14:24.611 -0500 ERROR Saml [847764 webui] - No value found in SamlResponse for match key=saml:AttributeStatement/saml:Attribute attrName=memberOf err=No nodes found for xpath=saml:AttributeStatement/saml:Attribute&lt;/LI-CODE&gt;&lt;P&gt;I've looked at the Splunk SAML docs, but don't see anything about namespacing, so maybe ChatGPT just made that up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly is Splunk looking for that I'm not providing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any suggestions or insight, please let me know.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 20:37:26 GMT</pubDate>
    <dc:creator>Branden</dc:creator>
    <dc:date>2024-12-12T20:37:26Z</dc:date>
    <item>
      <title>SAML Login problem: Saml response does not contain group information.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706684#M21067</link>
      <description>&lt;P&gt;Hello. I am trying to get SAML authentication working on Splunk Enterprise using our local IdP, which is SAML 2.0 compliant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully authenticate against the IdP, which returns the assertion, but Splunk won't let me in. I get this error: "Saml response does not contain group information."&lt;/P&gt;&lt;P&gt;I know Splunk looks for a 'role' variable, but our assertion does not return that. Instead, it returns "memberOf", and I added that to authentication.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[authenticationResponseAttrMap_SAML]
role = memberOf&lt;/LI-CODE&gt;&lt;P&gt;I also map the role under roleMap_SAML.&lt;/P&gt;&lt;P&gt;It seems like no matter what I do, no matter what I put, I get the&amp;nbsp;"Saml response does not contain group information." response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a ticket open with tech support, but at the moment, they're not sure what the issue is.&amp;nbsp; Here's a snippet (masked) of the assertion response:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;saml2:Attribute FriendlyName="memberOf" Name="urn:oid:1.2.xxx.xxxxxx.1.2.102"
                             NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"&amp;gt;
     &amp;lt;saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"&amp;gt;
                    xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:some-group
     &amp;lt;/saml2:AttributeValue&amp;gt;
&amp;lt;/saml2:Attribute&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Feeling out of options, I asked ChatGPT (I know, I know), and it said that the namespace our assertion is using may be the issue. It said that Splunk uses the "saml" namespace, but our IdP is returning "saml2". I don't know if that's the actual issue nor, if it is, what to do about it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunkd.log shows the error message that I'm seeing in the web interface:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;12-12-2024 15:14:24.611 -0500 ERROR Saml [847764 webui] - No value found in SamlResponse for match key=saml:AttributeStatement/saml:Attribute attrName=memberOf err=No nodes found for xpath=saml:AttributeStatement/saml:Attribute&lt;/LI-CODE&gt;&lt;P&gt;I've looked at the Splunk SAML docs, but don't see anything about namespacing, so maybe ChatGPT just made that up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly is Splunk looking for that I'm not providing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any suggestions or insight, please let me know.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 20:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706684#M21067</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2024-12-12T20:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAML Login problem: Saml response does not contain group information.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706718#M21070</link>
      <description>&lt;P&gt;Have you tried to map the "Name" to the "role" variable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked the supported group information formats in the docs and verified it?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.3.2/Security/ConfigureSAMLSSO#Supported_exclude_list_role_and_group_formats" target="_blank"&gt;Configure SAML SSO using configuration files on Splunk Enterprise - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 08:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706718#M21070</guid>
      <dc:creator>PaulPanther</dc:creator>
      <dc:date>2024-12-13T08:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAML Login problem: Saml response does not contain group information.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706742#M21078</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The answer is "yes" to both questions. I've tried mapping the role to Name, memberOf, and FriendlyName.&lt;/P&gt;&lt;P&gt;It looks like the response uses "DN format," and the example in the docs is similar to the response I'm receiving.&lt;/P&gt;&lt;P&gt;One difference I did notice from the doc, however, is the value it's returning. In the doc, it appears to be returning LDAP memberships: CN=Employee, OU=SAML Test, DC=qa, etc... Our back-end uses Grouper for authorization, and the value looks more like org:sections:managed:employee:saml-test:qa:etc... I wonder if that's confusing Splunk...? I'm grasping at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 14:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/SAML-Login-problem-Saml-response-does-not-contain-group/m-p/706742#M21078</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2024-12-13T14:24:46Z</dc:date>
    </item>
  </channel>
</rss>

