Finish connecting provider accounts after the authorization redirect
Finishes an authorization begun by startIntegrationInstall. It returns either connected accounts or provider-neutral account/action options that continue through startIntegrationInstall. The provider and organization come from the authenticated caller and single-use state nonce, never from callback parameters or browser-local storage. Resource and permission selection happens later when granting a vault.
Authorizations
A Recursion API key, created in the console under API keys.
Body
Request body completing integration authorization after the provider redirects the user back. Sent from an authenticated session so the provider and organization come from the single-use state record rather than from callback parameters or browser-local storage.
The nonce returned when authorization was started. Single-use and short-lived.
Provider authorization code, proving which user authorized this connection. Required by OAuth providers (GitHub, Jira, Confluence, Loom), which refuse a completion without one. A built-in integration's sign-in page also returns a single-use code, verified before the connection activates, so a completion without it fails.
Which account the operator chose on the provider's own page, in the opaque form that provider returned. Providers with an account chooser may require it; GitHub returns an installation id. A selector only: the server verifies the choice against the accounts the authorizing user can reach and refuses one they cannot.
Response
The completed integration authorization. Connections contains the accounts established by this callback; when the provider needs the operator to choose an account or action first, connections is empty and options contains those provider-defined continuations.
The completed integration authorization. Connections contains the accounts established by this callback; when the provider needs the operator to choose an account or action first, connections is empty and options contains those provider-defined continuations.
Connections created by this callback. Empty when the provider needs an option selected first.
Provider whose authorization is being completed.
Provider-defined accounts or actions the operator can choose to continue authorization.