All Apps and Add-ons

Splunk Addon-builder and OAuth2

llacoste
Path Finder

Hi all,

 

After searching for the answer, I only found some very old posts from 2015 or so...

I am trying to use the Splunk Addon Builder to create a Rest call : https://api.spotify.com/v1/me

In the example it's giving me an OAuth v2 token for the header but I don't seem to make it work by using OAuth as a parameter and the Auth token I've been given for my account as a value, or trying to pass it as a parameter in the url with ?OAuth=<token>

Is there something I am not thinking about? I don't seem to find the answer on splunk doc or inputs.conf specs either.

Thank you for your time as usual.

Cheers

 

Laurent

Labels (1)
0 Karma

jawaharas
Motivator

Try out in the below format in the 'request headers'. (Replace the strike-out value with your token)

jawaharas_0-1626079887517.png

 

 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...