OAuthClient

Register a new OAuth client (third-party app)

POST
http://localhost:3000/api/oauth/clients

Body

application/json
namestringrequired
Example
Activepieces
descriptionstring | null
clientTypestringconfidentialpublicconfidential
redirectUrisArray<string>required
Example
[
  "https://cloud.activepieces.com/redirect"
]
allowedScopesArray<string>
Example
[
  "profile",
  "email"
]
allowedGrantTypesArray<string>authorization_coderefresh_tokenclient_credentialsauthorization_code
pkceRequiredbooleanfalse
accessTokenTtlnumber[60, 604800]86400
refreshTokenTtlnumber[60, 7776000]2592000

Response

201Created

Client created. The response includes the plaintext clientSecret exactly once — store it immediately.

400Bad Request

Invalid input

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey