All Apps and Add-ons

How to use OAUTH v1 with REST API and the Splunk Add-on Builder?

ncrisler
New Member

I am currently in the process of using the Splunk Add-on Builder. I want to use REST API as the data source. The issues that I am having is how to use OAUTH v1 with the Splunk Add-on Builder? The error message that I am getting is:

errors: { [-] 
      message:  Client required: but no client (client=xxx or oauth_consumer_key=xxx) present. 
      type:  unauthorized 
   } 

I have tried to specify these referenced items in the REST Request Headers, but to no success. Any Ideas?

0 Karma
1 Solution

ehaddad_splunk
Splunk Employee
Splunk Employee

Hi
You will need to handle this in Python and this is specific to your API.
We are planning on adding oauth support in future to make it easier and allow you to do it with less coding but not there yet.

View solution in original post

0 Karma

ehaddad_splunk
Splunk Employee
Splunk Employee

Hi
You will need to handle this in Python and this is specific to your API.
We are planning on adding oauth support in future to make it easier and allow you to do it with less coding but not there yet.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...