<?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 UI-Toolkit React-App unable to fetch REST-Endpoint &amp;quot;services/admin/LDAP-groups&amp;quot; in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/UI-Toolkit-React-App-unable-to-fetch-REST-Endpoint-quot-services/m-p/634365#M10966</link>
    <description>&lt;P&gt;Hello Splunk Community,&lt;/P&gt;&lt;P&gt;to get into ReactJS and the Splunk UI-Toolkit i created a small App with a Component, thats fetching the Splunk-Roles and the LDAP-groups from splunks REST-API for easy mapping of matching groups and roles.&lt;BR /&gt;&lt;BR /&gt;Fetching of the roles work, but the groups dont.&lt;BR /&gt;&lt;BR /&gt;Codeside i fetch against&amp;nbsp;&lt;SPAN&gt;'/splunkd/services/admin/LDAP-groups?output_mode=json'&lt;BR /&gt;That respond with 303 see other and refers to&lt;BR /&gt;'&amp;lt;locale&amp;gt;/&lt;SPAN&gt;splunkd/services/admin/LDAP-groups?output_mode=json&lt;/SPAN&gt;'&lt;BR /&gt;where i get the 404 Page not Found response.&lt;BR /&gt;&lt;BR /&gt;Searching for the requestId shows following:&lt;BR /&gt;&lt;SPAN class=""&gt;proxy:132&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;Resource&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found:&lt;/SPAN&gt; &lt;SPAN class=""&gt;services/admin/LDAP-groups&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;error:321&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;Masking&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; &lt;SPAN class=""&gt;original&lt;/SPAN&gt; &lt;SPAN class=""&gt;404&lt;/SPAN&gt; &lt;SPAN class=""&gt;message:&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;Resource&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found:&lt;/SPAN&gt; &lt;SPAN class=""&gt;services/admin/LDAP-groups&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;with&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;Page&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found&lt;/SPAN&gt;&lt;SPAN&gt;!' &lt;/SPAN&gt;&lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;security&lt;/SPAN&gt; &lt;SPAN class=""&gt;reasons&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My User has the&amp;nbsp;&lt;SPAN&gt;change_authentication capability, so theoretically it should work.&lt;BR /&gt;Am i doing something wrong? Or is that endpoint denied by default if its not splunk itself?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 07:58:55 GMT</pubDate>
    <dc:creator>TheEggi98</dc:creator>
    <dc:date>2023-03-14T07:58:55Z</dc:date>
    <item>
      <title>UI-Toolkit React-App unable to fetch REST-Endpoint "services/admin/LDAP-groups"</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/UI-Toolkit-React-App-unable-to-fetch-REST-Endpoint-quot-services/m-p/634365#M10966</link>
      <description>&lt;P&gt;Hello Splunk Community,&lt;/P&gt;&lt;P&gt;to get into ReactJS and the Splunk UI-Toolkit i created a small App with a Component, thats fetching the Splunk-Roles and the LDAP-groups from splunks REST-API for easy mapping of matching groups and roles.&lt;BR /&gt;&lt;BR /&gt;Fetching of the roles work, but the groups dont.&lt;BR /&gt;&lt;BR /&gt;Codeside i fetch against&amp;nbsp;&lt;SPAN&gt;'/splunkd/services/admin/LDAP-groups?output_mode=json'&lt;BR /&gt;That respond with 303 see other and refers to&lt;BR /&gt;'&amp;lt;locale&amp;gt;/&lt;SPAN&gt;splunkd/services/admin/LDAP-groups?output_mode=json&lt;/SPAN&gt;'&lt;BR /&gt;where i get the 404 Page not Found response.&lt;BR /&gt;&lt;BR /&gt;Searching for the requestId shows following:&lt;BR /&gt;&lt;SPAN class=""&gt;proxy:132&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;Resource&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found:&lt;/SPAN&gt; &lt;SPAN class=""&gt;services/admin/LDAP-groups&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;error:321&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;Masking&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; &lt;SPAN class=""&gt;original&lt;/SPAN&gt; &lt;SPAN class=""&gt;404&lt;/SPAN&gt; &lt;SPAN class=""&gt;message:&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;Resource&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found:&lt;/SPAN&gt; &lt;SPAN class=""&gt;services/admin/LDAP-groups&lt;/SPAN&gt;&lt;SPAN&gt;' &lt;/SPAN&gt;&lt;SPAN class=""&gt;with&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class=""&gt;Page&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found&lt;/SPAN&gt;&lt;SPAN&gt;!' &lt;/SPAN&gt;&lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;security&lt;/SPAN&gt; &lt;SPAN class=""&gt;reasons&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My User has the&amp;nbsp;&lt;SPAN&gt;change_authentication capability, so theoretically it should work.&lt;BR /&gt;Am i doing something wrong? Or is that endpoint denied by default if its not splunk itself?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 07:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/UI-Toolkit-React-App-unable-to-fetch-REST-Endpoint-quot-services/m-p/634365#M10966</guid>
      <dc:creator>TheEggi98</dc:creator>
      <dc:date>2023-03-14T07:58:55Z</dc:date>
    </item>
  </channel>
</rss>

