Provider URL
https://platform.parallel.aiQuick Start
1. Start Authorization Flow
2. Handle Callback & Exchange Code
3. Use the API Key
Authentication Flow
The OAuth flow follows these steps:- Authorization Request: Redirect user to Parallel’s authorization endpoint
- User Consent: User sees your application hostname and grants permission
- API Key Selection: User selects an existing API key or generates a new one
- Authorization Code: User is redirected back with an authorization code
- Token Exchange: Exchange the code for the user’s API key using PKCE
Features
- PKCE Required: Code challenge/verifier mandatory for all clients
- No Client Secret: Public client design - no secrets to manage
- User Consent: Users explicitly approve each application by hostname
- One-Time Codes: Authorization codes can only be used once
- Direct Access: The
access_token
returned is the user’s actual Parallel API key
MCP Compatibility
This OAuth provider is fully compatible with the Model Context Protocol (MCP) specification for authorization. MCP clients can discover and use this OAuth provider automatically through the well-known endpoints at/.well-known/oauth-authorization-server
.
You can see an example of this OAuth provider being used in practice in the Parallel Tasks SSE recipe.