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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>