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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...