Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

OAuth Client Credentials

HTTP Auth Method Grooper.GPT

Implements OAuth 2.0 Client Credentials authentication for secure service-to-service HTTP integration in Grooper.

Remarks

The OAuth Client Credentials class enables Grooper to authenticate with external APIs and services using the OAuth 2.0 Client Credentials flow. This method is designed for server-to-server scenarios, where Grooper acts as an application (not a user) and obtains an access token from an authorization server using its client ID and client secret.

Overview

Use OAuth Client Credentials when integrating with APIs that require application-level authentication, such as Microsoft Graph, Azure, or other enterprise services. This flow does not involve user interaction; instead, Grooper presents its credentials to the authorization server and receives an access token for API requests.

Usage

  • Set the 'Token Endpoint URL', 'Client ID', and 'Client Secret' properties to the values provided by your authorization server.
  • Optionally, specify the 'Scope' property to request specific permissions for the access token.
  • When Grooper makes an HTTP request, it automatically obtains and caches an access token, then sends it as Authorization: Bearer <token>.
  • This method is suitable for backend integrations, automation, and scenarios where no user is present.

Security Notes

  • The client secret is sensitive and should be protected. It is stored securely and only used for token acquisition.
  • Always use HTTPS for all communication with the token endpoint and API.
  • Do not share client credentials with untrusted parties or expose them in logs.

Example

To authenticate with an OAuth 2.0 provider:

Token Endpoint URL: https://login.example.com/oauth2/v2.0/token Client ID: 12345678-90ab-cdef-1234-567890abcdef Client Secret: (your secret) Scope: https://api.example.com/.default

The resulting HTTP header will be:

Authorization: Bearer <access_token>

Properties

NameTypeDescription

Context Menu Commands

Command Shortcut Description
~/Resource/GetIcon?typeName=blank Test Tests the process of obtaining an OAuth 2.0 access token using the configured client credentials.

Used By

Notification