documentation /api provider

OAuth2RefreshToken

API provider

Two-legged OAuth 2.0 flow that authenticates via a long-lived refresh token. Use when the provider issues a refresh token at app setup time but does not require interactive user login during operation.

  • API category: Generic
  • Needs login: No, two-legged: no end-user interaction is required

Configuration parameters

Required

  • tokenUrl : string; required
    Provider’s OAuth2 token endpoint URL.
  • clientId : string; required
    OAuth client ID.
  • clientSecret : string; required
    OAuth client secret. Unlike the other OAuth providers, this value is used literally; $ENV_VAR references are not expanded.
  • initialRefreshToken : string; required
    Long-lived refresh token obtained out-of-band during initial app setup. Used literally; $ENV_VAR references are not expanded.

What components can use this API

Concepts:

Ingredients: