<?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 How do I pass session from Js SDK to custom Rest Python script? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-pass-session-from-Js-SDK-to-custom-Rest-Python-script/m-p/600235#M10641</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a Splunk App with React and JS SDK, that calls a custom REST endpoint, that calls a Python script, which uses Splunk Python SDK. Is there a way to pass the session from the logged in User using the Dashboard from JS/REST to the Python script, so that I do not need to write the authentication details for the Python SDK connection in a file?&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2022 15:18:09 GMT</pubDate>
    <dc:creator>jbrocks</dc:creator>
    <dc:date>2022-06-02T15:18:09Z</dc:date>
    <item>
      <title>How do I pass session from Js SDK to custom Rest Python script?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-pass-session-from-Js-SDK-to-custom-Rest-Python-script/m-p/600235#M10641</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a Splunk App with React and JS SDK, that calls a custom REST endpoint, that calls a Python script, which uses Splunk Python SDK. Is there a way to pass the session from the logged in User using the Dashboard from JS/REST to the Python script, so that I do not need to write the authentication details for the Python SDK connection in a file?&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 15:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-do-I-pass-session-from-Js-SDK-to-custom-Rest-Python-script/m-p/600235#M10641</guid>
      <dc:creator>jbrocks</dc:creator>
      <dc:date>2022-06-02T15:18:09Z</dc:date>
    </item>
  </channel>
</rss>

