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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...