Skip to main content
POST
/
v2
/
auth
/
providers
{
  "id": "<string>",
  "organization_id": "<string>",
  "provider_id": "<string>",
  "name": "<string>",
  "client_id": "<string>",
  "auth_url": "<string>",
  "token_url": "<string>",
  "uses_pkce": true,
  "code_challenge_method": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "provider_type": "<string>"
}

Body

application/json

Request model for creating OAuth provider.

provider_id
string
required
name
string
required
client_id
string
required
client_secret
string
required
auth_url
string
required
token_url
string
required
uses_pkce
boolean
default:false
code_challenge_method
string
default:S256

Response

Successful Response

Response model for OAuth provider.

id
string
required
organization_id
string
required
provider_id
string
required
name
string
required
client_id
string
required
auth_url
string
required
token_url
string
required
uses_pkce
boolean
required
code_challenge_method
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
provider_type
string | null