Herald
OpenapiOauth

Get OAuth provider configuration by provider type

GET
/api/oauth-configs/{providerType}

Path Parameters

providerType*string

Provider type (google, github, facebook, apple, discord, wechat, wechat_miniprogram)

Response Body

OAuth provider configuration

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 GET 'https://example.com/api/oauth-configs/string'
Example Response
{
  "clientId": "string",
  "createdAt": "string",
  "enabled": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "providerType": "string",
  "realmId": "string",
  "scopes": [
    "string"
  ],
  "updatedAt": "string"
}