mcp-oauth
Initiate Oauth
Begin the configured OAuth 2 authorization-code flow.
- Scope-check the registration to the caller's identity.
- Validate auth_kind == 'oauth2'.
- Validate discovery for MCP resources. REST connections may use their statically configured authorization and token endpoints.
- Perform DCR if oauth_client_id is not yet set.
- Generate a state token and the configured PKCE pair, if any.
- Insert a short-lived IdentityMcpOAuthState row.
- 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
Response
Successful Response
Changes
No recorded changes to this operation across all 3 revisions of this API.