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!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...