Registers a new OAuth/OIDC client with IdentityServer4 enabling applications to request authentication and authorization.
model (IdentityServerClientCreateCommandRequest, required) — Client configuration including:
clientId (string, required) — Unique OAuth client identifier.clientName (string, required) — Display name for the client.clientSecrets (string[], optional) — Client secret values (hashed after creation).allowedGrantTypes (string[], required) — OAuth grant types (e.g., client_credentials, authorization_code).allowedScopes (string[], required) — Permitted scopes (e.g., AdminUI, Payment, openid, profile).redirectUris (string[], optional) — Allowed redirect URIs for authorization code flow.enabled (bool, optional) — Enable client (default: true).BaseCreateCommandResponse containing the ID of the newly created client.
The access token received from the authorization server in the OAuth 2.0 flow.
The client configuration details including client ID, secrets, scopes, and grant types.
Base structure for command requests that modify data. Represents the payload used to create an identity server client.
The public client identifier.
50The client secret used for authentication.
1The identifier of the company that owns the client.
The identifier of the project associated with the client, if any.
The description of the client.
Returns the ID of the newly created IdentityServer client.
Standard response structure containing operation status and error information. Standard command response indicating the result of a data modification. Create response containing the identifier of the newly created entity.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null
Unique identifier of the newly created entity.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"