Register OAuth client (admin)
Manually register a new OAuth client (admin endpoint). Only available when OAuth server is enabled.
Request body
Human-readable name of the client application
URL of the client application's homepage
URL of the client application's logo
Array of redirect URIs used by the client (maximum 10)
Type of the client. Optional. If not provided, will be inferred from token_endpoint_auth_method or defaults to 'confidential'. Public clients are used for applications that cannot securely store credentials (e.g., SPAs, mobile apps). Confidential clients can securely store credentials (e.g., server-side applications).
Authentication method for the token endpoint. Optional. 'none' is for public clients, 'client_secret_basic' and 'client_secret_post' are for confidential clients. If provided, must be consistent with client_type. If not provided, will be inferred from client_type.
OAuth grant types the client will use (defaults to both if not specified)
OAuth response types the client can use
Space-separated list of scope values
Response
OAuth client created
Unique client identifier
Human-readable name of the client application
Client secret for confidential clients (only returned on registration/regeneration)
Type of the client
Authentication method for the token endpoint
Registration type of the client
URL of the client application's homepage
URL of the client application's logo
Array of redirect URIs used by the client
OAuth grant types the client is authorized to use
OAuth response types the client can use
Space-separated list of scope values