MCP Connectors
OAuth2 callback handler
Handles the OAuth2 callback from the authorization provider. Exchanges the authorization code for tokens and stores them.
get/v1/mcp/oauth2/callback
Request
- Base URL: https://api.port.io
- URL: https://api.port.io/v1/mcp/oauth2/callback
- Auth: API key in header Authorization
Query parameters
codestring required
Authorization code from the OAuth2 provider.
statestring required
State parameter containing the session token.
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.