All Apps and Add-ons

How to configure OAUTH2 for the REST API Modular Input ?

guimilare
Communicator

Hi guys.

I've just downloaded the REST API Modular Input, and I have some doubts about its configurations using OAUTH2.
Here are two fields I'm in doubt in:

OAUTH 2 Token Refresh URL -> what URL should I put here? Assuming that I'll work with Google APIs;
OAUTH 2 Token Refresh Properties -> what properties should I put here?

I believe that with these fields correctly configured, I can achieve my goal.

Best regards,

0 Karma

dturnbull_splun
Splunk Employee
Splunk Employee

Your token refresh URL should be : https://www.googleapis.com/oauth2/v3/token
Your token refresh properties should be : grant_type=refresh_token

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Introducing ITSI 5.0: Unified Visibility and Actionable Insights

Introducing ITSI 5.0: Unified Visibility and Actionable Insights Tuesday, July 21, 2026  |  10:00AM PT / ...

Inside Splunk Agent Observability: Understanding Agent Behavior, Tokens & Costs

Inside Splunk Agent Observability:Understanding Agent Behavior, Tokens & Costs Thursday, August 06, ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...