<?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: Does Splunk supports OAuth for REST API ? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/757598#M12079</link>
    <description>&lt;P&gt;Just updating this, because it's still a top search result.&lt;/P&gt;&lt;P&gt;At least for general auth, it seems this has changed with the 10.2. release &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.splunk.com/en/splunk-enterprise/administer/manage-users-and-security/10.2/configure-the-splunk-platform-with-external-authentication-and-authorization/configure-an-external-open-authorization-2.0-authorization-server" target="_blank" rel="noopener"&gt;https://help.splunk.com/en/splunk-enterprise/administer/manage-users-and-security/10.2/configure-the-splunk-platform-with-external-authentication-and-authorization/configure-an-external-open-authorization-2.0-authorization-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No mention of direct REST API requests yet, but that might be a step in the direction...&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jan 2026 12:04:52 GMT</pubDate>
    <dc:creator>xpac</dc:creator>
    <dc:date>2026-01-23T12:04:52Z</dc:date>
    <item>
      <title>Does Splunk supports OAuth for REST API ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/581677#M10299</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Could you help us in confirming whether Splunk REST APIs supports OAuth authentication apart from the existing basic authentication(username/password) and authentication tokens(&lt;/SPAN&gt;&lt;A title="https://docs.splunk.com/Documentation/Splunk/8.2.4/Security/UseAuthTokens" href="https://docs.splunk.com/Documentation/Splunk/8.2.4/Security/UseAuthTokens" target="_blank" rel="noopener noreferrer"&gt;link&lt;/A&gt;&lt;SPAN&gt;). ? We see a lot of customers enquiring about it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, is it mandatory to always use an&amp;nbsp;&lt;SPAN&gt;authentication token mechanism for a service account in Splunk or can we use a username/password as well ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/27103"&gt;@sloshburch&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/581677#M10299</guid>
      <dc:creator>vallabhk</dc:creator>
      <dc:date>2022-01-19T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports OAuth for REST API ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/582185#M10300</link>
      <description>&lt;P&gt;Splunk&amp;nbsp;REST APIs&amp;nbsp;don't support OAuth&amp;nbsp;authentication.&amp;nbsp; But maybe this solution with &lt;SPAN&gt;a web server or&amp;nbsp;LDAP&lt;/SPAN&gt; will help you:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Security/Does-Splunk-support-oAuth-2-0-single-sign-on/m-p/292745/highlight/true#M7832" target="_blank"&gt;https://community.splunk.com/t5/Security/Does-Splunk-support-oAuth-2-0-single-sign-on/m-p/292745/highlight/true#M7832&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can use a username/password for a Service Account but you'll need to give the Service Account access to read the information you want Splunk to be able to collect/access. It only needs read rights.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can find examples of how to use username/password in requests here:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or you can use authentification with Python script and use a session key in your requests:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.4/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.4/RESTTUT/RESTsearches&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 21:08:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/582185#M10300</guid>
      <dc:creator>murenkot</dc:creator>
      <dc:date>2022-01-23T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports OAuth for REST API ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/757598#M12079</link>
      <description>&lt;P&gt;Just updating this, because it's still a top search result.&lt;/P&gt;&lt;P&gt;At least for general auth, it seems this has changed with the 10.2. release &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.splunk.com/en/splunk-enterprise/administer/manage-users-and-security/10.2/configure-the-splunk-platform-with-external-authentication-and-authorization/configure-an-external-open-authorization-2.0-authorization-server" target="_blank" rel="noopener"&gt;https://help.splunk.com/en/splunk-enterprise/administer/manage-users-and-security/10.2/configure-the-splunk-platform-with-external-authentication-and-authorization/configure-an-external-open-authorization-2.0-authorization-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No mention of direct REST API requests yet, but that might be a step in the direction...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 12:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Does-Splunk-supports-OAuth-for-REST-API/m-p/757598#M12079</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2026-01-23T12:04:52Z</dc:date>
    </item>
  </channel>
</rss>

