v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBOAuth2 Client Public
Register an OAuth2 client
Register an OAuth2 client using the Dynamic Client Registration protocol defined in RFC 7591.
post/api/v2/oauth2/register
Request body
Example request
{
"client_name": "Example MCP Client",
"client_uri": "https://example.com",
"grant_types": [
"authorization_code",
"refresh_token"
],
"jwks_uri": "https://example.com/.well-known/jwks.json",
"logo_uri": "https://example.com/logo.png",
"policy_uri": "https://example.com/privacy",
"redirect_uris": [
"https://example.com/oauth/callback"
],
"response_types": [
"code"
],
"scope": "openid profile",
"token_endpoint_auth_method": "none",
"tos_uri": "https://example.com/tos"
}Response
Created
Example response
{
"client_id": "72b68208-36a6-11f0-b21b-da7ad0900002",
"client_name": "Example MCP Client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"redirect_uris": [
"https://example.com/oauth/callback"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "none"
}