Start an authorization session
Start an OAuth authorization session for the caller. If the user is already authorized, the response can be completed immediately. Otherwise, the response includes a verification URL that the user must visit to complete authorization.
Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-vicmda-1780088974-0fb0763.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
OAuth provider ID returned by the MCP OAuth provider registration endpoint.
OAuth scopes to request.
REUSE returns an existing valid token when possible. CREATE starts a fresh authorization session.
REUSE, CREATE Optional agent ID to associate with the session.
Optional token ID to reuse or update.
Whether the resulting token should be the default token for this provider.
Response
Existing token reused; no new session created.
Authorization session ID. Present for pending sessions.
Current authorization session status.
PENDING, COMPLETED, CONNECTION_REQUIRED, TOKEN_EXPIRED URL the user must visit to complete authorization. Present when status is PENDING.
Token identifier or token payload returned when authorization is already complete. Treat this value as sensitive.

