Keystone Developers
Open Keystone
API reference

Webhooks and callbacks

OAuth connections

1 endpoint.

GET/api/v1/admin/connections/oauth/{provider}/callback

OAuth callback (browser redirect target)

Exchange authorization code for tokens and upsert ``oauth_connections`` (no JWT: IDP redirect).

Authentication

No credential.

Parameters

NameInTypeDescription
providerrequiredpathOAuthProvider
codequerystring | null
statequerystring | null
errorquerystring | null
error_descriptionquerystring | null

Responses

200Successful Response
application/jsonany
  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.