Skip to main content
POST
cURL

Path Parameters

variableId
string<uuid>
required

The ID of the variable.

Body

application/json
clientSecret
string

The client secret of your own OAuth app, for a variable with a clientId. Leave it out on a reconnect to keep the stored one, or for an app with no secret.

Required string length: 1 - 4096
Pattern: ^[\x20-\x7e]+$

Response

Default Response

authorization
object | null
required

The sign-in, or null when the variable needs clientId (registrationRequired) or endpoints set by hand (manualSetupRequired) first.

registrationRequired
boolean
required

True when the provider can't register a client by itself, or refused to. Set clientId on the variable to your own OAuth app, then start the sign-in again.

manualSetupRequired
boolean
required

True when discovery found no endpoints Infisical can trust: it only guessed them, or the provider's metadata names another issuer. Nothing was sent to them. Check prefill, set the endpoints on the variable by hand, then start the sign-in again.

prefill
object | null
required

What discovery found, as a starting point for the endpoints to set by hand. Null otherwise.

redirectUri
string
required

Where the provider sends the user back after signing in: the variable's redirectUri, or Infisical's callback page. Register it with your OAuth app.