<?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 Unable to get REST API Token in Security</title>
    <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192835#M5669</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to get an auth token for REST API login, and it keeps saying "login failed".  However, if I go to the gui, I can login with those same credentials.  &lt;/P&gt;

&lt;P&gt;I am accessing &lt;A href="https://&amp;lt;host:port&amp;gt;/servicesNS/admin/search/auth/login" target="test_blank"&gt;https://&amp;lt;host:port&amp;gt;/servicesNS/admin/search/auth/login&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2015 02:53:41 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2015-05-12T02:53:41Z</dc:date>
    <item>
      <title>Unable to get REST API Token</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192835#M5669</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to get an auth token for REST API login, and it keeps saying "login failed".  However, if I go to the gui, I can login with those same credentials.  &lt;/P&gt;

&lt;P&gt;I am accessing &lt;A href="https://&amp;lt;host:port&amp;gt;/servicesNS/admin/search/auth/login" target="test_blank"&gt;https://&amp;lt;host:port&amp;gt;/servicesNS/admin/search/auth/login&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 02:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192835#M5669</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-05-12T02:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get REST API Token</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192836#M5670</link>
      <description>&lt;P&gt;Can you give a better example of how you are trying to authenticate ? A Curl command perhaps ?&lt;/P&gt;

&lt;P&gt;FYI : this works :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k &lt;A href="https://localhost:8089/services/auth/login" target="test_blank"&gt;https://localhost:8089/services/auth/login&lt;/A&gt; -d username=admin -d password=foobar
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 May 2015 10:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192836#M5670</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-12T10:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get REST API Token</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192837#M5671</link>
      <description>&lt;P&gt;curl -k -u  srvFFAS:ChangeMe &lt;A href="https://artp449:8089/servicesNS/admin/search/auth/login"&gt;https://artp449:8089/servicesNS/admin/search/auth/login&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 23:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192837#M5671</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-05-12T23:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get REST API Token</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192838#M5672</link>
      <description>&lt;P&gt;So obviously that differs from the correct example I gave you. Can you confirm that my answer worked for you and if so accept the Answer ? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 02:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192838#M5672</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-13T02:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get REST API Token</title>
      <link>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192839#M5673</link>
      <description>&lt;P&gt;Splunk documentation is not correct for version 6- REST API&lt;BR /&gt;
    REF-- wrong end point in the doc:&lt;BR /&gt;
            &lt;A href="http://dev.splunk.com/view/SP-CAAADQT"&gt;http://dev.splunk.com/view/SP-CAAADQT&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;--for end point  --&amp;gt; /servicesNS/admin/search/auth/login  does NOT work and results "Login Failed"&lt;BR /&gt;
where as the end point below&lt;/P&gt;

&lt;P&gt;/services/auth/login   works.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2015 17:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Unable-to-get-REST-API-Token/m-p/192839#M5673</guid>
      <dc:creator>splunkears</dc:creator>
      <dc:date>2015-08-02T17:15:52Z</dc:date>
    </item>
  </channel>
</rss>

