v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
OAuth Protocol

Dynamic client registration

Register a new OAuth client dynamically (RFC 7591)

post/oauth/register

Request body

client_namestring

Human-readable string name of the client to be presented to the end-user

grant_typesstring[]

Array of OAuth 2.0 grant type strings that the client may use

logo_uristring uri

URL of the client logo

policy_uristring uri

URL of the client's privacy policy

redirect_urisstring[]

Array of redirection URI strings for use in redirect-based flows

response_typesstring[]

Array of the OAuth 2.0 response type strings that the client may use

scopestring

Space-separated string of scope values that the client may use

token_endpoint_auth_method'none' | 'client_secret_basic' | 'client_secret_post'

Authentication method for the token endpoint

tos_uristring uri

URL of the client's terms of service

Example request

{
  "client_name": "My OAuth Application",
  "redirect_uris": [
    "https://example.com/callback"
  ],
  "scope": "admin"
}

Response

Client registered successfully

client_idstring required

Unique client identifier

client_id_issued_atinteger required

Unix timestamp of when the client ID was issued

client_namestring

Human-readable client name

client_secretstring

Client secret (only for confidential clients)

grant_typesstring[]

Array of allowed grant types

logo_uristring uri

URL of the client logo

policy_uristring uri

URL of the client's privacy policy

redirect_urisstring[]

Array of redirection URIs

response_typesstring[]

Array of allowed response types

scopestring

Space-separated scope values

token_endpoint_auth_methodstring

Token endpoint authentication method

tos_uristring uri

URL of the client's terms of service

Example response

{
  "client_id": "abc123def456"
}