Herald
OpenapiOauth

Create OAuth provider configuration

POST
/api/oauth-configs

Request Body

application/json
  1. body
clientId*string
clientSecret*string
enabled?boolean|null
providerType*string
scopes?array<string>|null

Response Body

OAuth provider configuration created

application/json
  1. response
clientId*string
createdAt*string
enabled*boolean
id*string
Formatuuid
providerType*string
realmId*string
scopes*array<string>
updatedAt*string
Example Request
curl -X POST 'https://example.com/api/oauth-configs' \
  -H 'Content-Type: application/json' \
  -d '{
  "clientId": "string",
  "clientSecret": "string",
  "providerType": "string"
}'
Example Response
{
  "clientId": "string",
  "createdAt": "string",
  "enabled": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "providerType": "string",
  "realmId": "string",
  "scopes": [
    "string"
  ],
  "updatedAt": "string"
}