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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...