- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to use REST API and get auth via Okta app ?
RayJacobs
New Member
01-09-2023
06:34 PM
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 ?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PaulPanther
Motivator
01-10-2023
12:23 AM
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
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RayJacobs
New Member
01-10-2023
04:08 PM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PaulPanther
Motivator
01-10-2023
10:56 PM
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
