Skip to content
LogoLogo

Complete a provider authorization callback

Complete a provider authorization callback

GET/api/v1/integration-authorizations/callback

Claims one unexpired authorization attempt, exchanges an OAuth code with the provider's accepted PKCE or confidential-client flow or verifies a provider-native installation callback, stores credentials in the approved vault, persists only opaque references, and redirects to the bound Assign return path. Standard OAuth and GitHub App callbacks carry the one-use query state. A Sentry App post-install callback carries code, installationId, and orgSlug and is bound to the initiating browser by a short-lived, callback-scoped HttpOnly Secure SameSite=Lax cookie. Replay is rejected.

Query Parameters

state
string·min 32·max 256

One-use authorization state. Required for standard OAuth and GitHub App callbacks; omitted only by a Sentry App post-install callback, which uses the callback-scoped browser cookie established by the authenticated start operation.

code
string·min 1·max 4096

OAuth authorization code. Required for OAuth callbacks and omitted by provider-native installation callbacks.

installation_id
string·min 1·max 128

Provider-native installation identifier. Accepted only for the matching installation authorization attempt.

installationId
string·min 1·max 128

Sentry App installation UUID supplied by Sentry's post-install redirect. Accepted only with code and orgSlug for the cookie-bound Sentry authorization attempt.

orgSlug
string·min 1·max 100

Sentry organization slug supplied by Sentry's post-install redirect. Accepted only with code and installationId for the cookie-bound Sentry authorization attempt.

setup_action
string·min 1·max 32

Provider-native installation outcome passed through to the matching adapter.

Responses

303Redirect to the bound Assign setup page for browser navigation.