Skip to main content
PUT
Error

Autorizaciones

Authorization
string
header
requerido

Bearer authentication. Send Authorization: Bearer .

Cuerpo

application/json

SSO Provider Input

SSOProviderConfigInput payload

clientId
string
requerido
clientSecret
string
requerido

#nosec G117 -- write-only credential, never echoed back in any response

type
enum<string>
requerido
Opciones disponibles:
Google,
AzureAD,
Okta,
Custom
Ejemplo:

"Google"

customAuthUrl
string
customTokenUrl
string
customUserInfoUrl
string
disablePasswordLogin
boolean
Ejemplo:

true

domain
string

Domain is REQUIRED for Type=Okta and ignored otherwise: Casdoor derives an Okta provider's authorize, token and userinfo endpoints from it, and no constant can stand in because they are per-org. Either the org URL (https://.okta.com) or an authorization server base (https://.okta.com/oauth2/default) is accepted; the org URL is completed to its authorization server on write.

Ejemplo:

"https://your-org.okta.com"

issuerUrl
string
name
string
scopes
string

Respuesta

OK

SSOProviderConfigResponse payload

configured
boolean
passwordEnabled
boolean
provider
object

ProviderResponse payload

Ejemplo: