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
Get Updates on the Splunk Community!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...