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!

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...