Post Oauth 2 Register
**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
subject_type
skip_consent
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
Name of the OAuth2 application
logo_uri
Icon URL 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
post_logout_redirect_uris
List of allowed logout redirect uris
backchannel_logout_uri
RP URL to receive signed Logout Tokens when the end-user’s OP session terminates
backchannel_logout_session_required
Whether the RP requires a sid claim in every Logout Token
token_endpoint_auth_method
Requested authentication method for the token endpoint
Allowed values:
grant_types
Requested authentication method for the token endpoint
Allowed values:
response_types
Requested authentication method for the token endpoint
Allowed values:
public
Whether the client is public as determined by the type
type
Type of the client
Allowed values:
disabled
Whether the client is disabled
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error