Skip to main content
GET
/
api
/
mcp
/
oauth
/
callback
OAuth callback endpoint
curl --request GET \
  --url http://localhost:8080/api/mcp/oauth/callback
"<string>"

Query Parameters

state
string
required

State parameter for OAuth security (CSRF protection)

code
string
required

Authorization code from the OAuth provider

error
string

Error code if authorization failed

error_description
string

Error description if authorization failed

Response

OAuth authorization successful. Returns HTML page that closes the authorization window.

The response is of type string.