New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Create OAuth 2.0 Client

POST 

/admin/clients

Create a new OAuth 2.0 client. If you pass client_secret the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on.

SDK ReferenceTypeScript
createOAuth2Client(oAuth2Client)
ParametersTypeRequiredDescription
oAuth2ClientOAuth2ClientrequiredOAuth 2.0 Client Request Body
VariableType
dataOAuth2Client