Post Oauth 2 Create Client
Not the supported registration path. Dynamic client registration is gated (allowDynamicClientRegistration: false); unauthenticated calls are rejected. Register clients via POST /api/auth/admin/oauth-clients (admin session or Initial Access Token) — see the self-service registration guide.
Register an OAuth2 application
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
redirect_uris
scope
client_name
client_uri
logo_uri
contacts
tos_uri
policy_uri
software_id
software_version
software_statement
post_logout_redirect_uris
backchannel_logout_uri
backchannel_logout_session_required
token_endpoint_auth_method
jwks
jwks_uri
grant_types
response_types
type
Response
OAuth2 application registered successfully
client_id
Unique identifier for the client
client_secret
Secret key for the client
client_secret_expires_at
Time the client secret will expire. If 0, the client secret will never expire.
scope
Space-separated scopes allowed by the client
user_id
ID of the user who registered the client, null if registered anonymously
client_id_issued_at
Creation timestamp of this client
client_name
Name of the OAuth2 application
client_uri
URI of the OAuth2 application
logo_uri
Icon URI for the application
contacts
List representing ways to contact people responsible for this client, typically email addresses
tos_uri
Client's terms of service uri
policy_uri
Client's policy uri
software_id
Unique identifier assigned by the developer to help in the dynamic registration process
software_version
Version identifier for the software_id
software_statement
JWT containing metadata values about the client software as claims
redirect_uris
List of allowed redirect uris
token_endpoint_auth_method
Response types the client may use
grant_types
Requested authentication method for the token endpoint
response_types
Requested authentication method for the token endpoint
public
Whether the client is public as determined by the type
type
Type of the client
disabled
Whether the client is disabled
metadata
Additional metadata for the application
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error