mcp-oauth

Initiate Oauth

Begin the configured OAuth 2 authorization-code flow.

  1. Scope-check the registration to the caller's identity.
  2. Validate auth_kind == 'oauth2'.
  3. Validate discovery for MCP resources. REST connections may use their statically configured authorization and token endpoints.
  4. Perform DCR if oauth_client_id is not yet set.
  5. Generate a state token and the configured PKCE pair, if any.
  6. Insert a short-lived IdentityMcpOAuthState row.
  7. Build and return the authorization URL.
post/api/integrations/instances/{registration_id}/oauth/initiate

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/integrations/instances/{registration_id}/oauth/initiate
  • Auth: none declared

Path parameters

registration_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Request body

browser_launch_nav_item_idstring uuid nullable
redirect_afterstring nullable
target_identity_idstring uuid nullable
permissionsstring[] nullable
upgrade_version_idstring uuid nullable

Response

Successful Response

authorization_urlstring required
statestring required

Changes

No recorded changes to this operation across all 3 revisions of this API.