Neon · Schema

OAuthProviderCreateRequest

Request body for creating a new OAuth provider

DatabasesServerlessPostgresInfrastructureAuthenticationEdge

Properties

Name Type Description
provider string The OAuth provider type
client_id string The OAuth client ID
client_secret string The OAuth client secret
enabled boolean Whether to enable this provider
View JSON Schema on GitHub

JSON Schema

neon-oauthprovidercreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OAuthProviderCreateRequest",
  "title": "OAuthProviderCreateRequest",
  "type": "object",
  "description": "Request body for creating a new OAuth provider",
  "required": [
    "provider",
    "client_id",
    "client_secret"
  ],
  "properties": {
    "provider": {
      "type": "string",
      "description": "The OAuth provider type"
    },
    "client_id": {
      "type": "string",
      "description": "The OAuth client ID"
    },
    "client_secret": {
      "type": "string",
      "description": "The OAuth client secret"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether to enable this provider",
      "default": true
    }
  }
}