跳到主要内容

OIDCRegister

调用该接口注册 OIDC 外部身份认证方。

Request

post \oauth\oidc\register

Request Body

DescriptionTypeSchema
Objectv1OIDCRegisterBody

v1OIDCRegisterBody

NameTypeDescription
client_idstring
client_secretstring
email_keystring
endpoint
get_user_infoboolean
insecure_skip_verifyboolean
issuerstring
preferred_username_keystring
redirect_urlstring
scopesArray[ string ]
tenant_idstring

Response

Response 200

Code2DescriptionTypeSchema
200OKObjectv1OIDCRegisterResponse

v1OIDCRegisterResponse

NameTypeDescription
okboolean

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

NameTypeDescription
codeinteger
detailsArray[protobufAny][ 具体参数可见下面 protobufAny ]
messagestring

protobufAny

NameTypeDescription
@typestring