Authentication
Save an org's OAuth client for a provider
Changed onRequires the Manage OAuth apps permission. Lets an org bring its own OAuth app (client id + secret) for a native provider such as google-workspace, instead of relying on an OpenWork-owned client.
post/v1/oauth-providers/{providerId}/client
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
providerId, string required
Request body
object required
clientId, string
clientSecret, string
features, string[]
tenantId, string
Response
OAuth client saved.
OAuth Client Config Response required
ok, true required
providerId, string required
clientId, string required
features, string[] required
tenantId, string nullable required
Changes
- breaking
the response property
tenantIdbecame nullable for the status - info
response property
details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400 - info
response property
tenantIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking