CreateOAuthProviderRequest
Request to create/update an OAuth provider (admin only)
Properties
| Property | Type | Required | Description |
|---|---|---|---|
authorization_url |
string | Yes | |
client_id |
string | Yes | |
client_secret |
string | Yes | Client secret (will be encrypted) |
custom_auth_params |
any | No | Custom provider-specific authorization URL parameters (e.g., {"access_type": "offline"} for Google) |
description |
string,null | No | |
logo_url |
string,null | No | |
name |
string | Yes | |
pkce_required |
boolean | No | |
revocation_url |
string,null | No | |
scopes |
Array<string> | Yes | |
slug |
string | Yes | |
token_endpoint_auth_method |
TokenEndpointAuthMethod | No | |
token_url |
string | Yes | |
userinfo_url |
string,null | No |
View JSON Schema
{
"type": "object",
"description": "Request to create/update an OAuth provider (admin only)",
"required": [
"slug",
"name",
"authorization_url",
"token_url",
"client_id",
"client_secret",
"scopes"
],
"properties": {
"authorization_url": {
"type": "string"
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string",
"description": "Client secret (will be encrypted)"
},
"custom_auth_params": {
"description": "Custom provider-specific authorization URL parameters (e.g., {\"access_type\": \"offline\"} for Google)"
},
"description": {
"type": [
"string",
"null"
]
},
"logo_url": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"pkce_required": {
"type": "boolean"
},
"revocation_url": {
"type": [
"string",
"null"
]
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
},
"token_endpoint_auth_method": {
"$ref": "#/components/schemas/TokenEndpointAuthMethod"
},
"token_url": {
"type": "string"
},
"userinfo_url": {
"type": [
"string",
"null"
]
}
}
}