Skip to main content
POST
Create Client

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

app_id
string
required

Application that owns the SSO application.

id
string
required

SSO application that will govern this client.

Body

application/json

SSOApplicationServiceCreateClientRequest mints an additional App-owned client. The caller supplies configuration, never a client ID.

client
Sso Application Oidc Client Config · object | null
required

SSOApplicationOIDCClientConfig is the administrator-supplied configuration from which C1 mints an App-owned OAuth client. The client ID is never input.

Response

200 - application/json

SSOApplicationServiceCreateClientResponse contains the generated client and its one-time secret, when applicable.

SSOApplicationServiceCreateClientResponse contains the generated client and its one-time secret, when applicable.

client
Sso Application Oidc Client · object | null

SSOApplicationOIDCClient is an App-owned OAuth client minted by C1.

clientSecret
string

Returned once for client_secret_basic/client_secret_post; empty for none/private_key_jwt.