OAuth callback endpoint
/api/oauth/callbackHandles the OAuth provider callback after user authorization. This endpoint processes the authorization code and exchanges it for an access token. On success, displays an HTML page that closes the authorization window.
Query Parameters
State parameter for OAuth security (CSRF protection)
Authorization code from the OAuth provider
Error code if authorization failed
Error description if authorization failed
Response Body
text/html
text/html
curl -X GET "http://localhost:8080/api/oauth/callback?state=string&code=string""string""string"Get OAuth config status GET
Retrieves the current status of an OAuth configuration. Shows whether the OAuth flow is pending, authorized, or failed, and includes token expiration and scopes if authorized.
Revoke OAuth config DELETE
Revokes an OAuth configuration and its associated access token. After revocation, the MCP client will no longer be able to use this OAuth token.