Credentials

Connect an OAuth grant

Starts an OAuth 2.1 + PKCE browser consent flow for a provider and stores the resulting grant.

post/v1/credentials/oauth/connect

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/credentials/oauth/connect
  • Auth: HTTP bearer

Request body

providerIdstring required
clientIdstring
clientSecretstring
scopesstring[]

Response

The connected grant status

providerIdstring required
displayNamestring required
authenticatedboolean required
scopesstring[] required
accountEmailstring nullable
authMethod'browser' | 'serviceAccount' nullable

Changes

No recorded changes to this operation across all 1 revision of this API.