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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!