Splunk Dev

How to use REST API and get auth via Okta app ?

RayJacobs
New Member

Hi all,

I am trying to find a way to use Rest API like search endpoint for splunk but my problem is my company use Okta application to login to splunk. So I can't have username or password for splunk so is there any ways to bypass this auth ?

Labels (2)
Tags (1)
0 Karma

PaulPanther
Builder

Hello @RayJacobs 

you have to two options:

1. Create and use a local user

2. Create and use an authentication token (preferred solution)

 https://docs.splunk.com/Documentation/Splunk/9.0.3/Security/CreateAuthTok

0 Karma

RayJacobs
New Member

Hi @PaulPanther ,
1. How can I do this ? 
2. The page does not exist 

RayJacobs_0-1673395692567.png

 

0 Karma

PaulPanther
Builder

@RayJacobs 

Oh, yes the link is broken.

Regarding the local user check out Create and manage users with Splunk Web - Splunk Documentation but as I already mentioned you should prefer that way Create authentication tokens - Splunk Documentation

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...