{
"type": "oidc",
"name": "string",
"connections": [
{
"type": "string",
"identifier": "string",
"displayName": "string",
"fields": {
"callbackURL": "string",
"clientID": "string",
"clientSecret": "string",
"scopes": "string"
},
"userMatchFields": "string",
"logo": "string"
}
]
}
curl --location --request POST 'https://core.authing.cn/api/v2/extIdp' \
--header 'Authorization: Bearer eyJhbG' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "oidc",
"name": "string",
"connections": [
{
"type": "string",
"identifier": "string",
"displayName": "string",
"fields": {
"callbackURL": "string",
"clientID": "string",
"clientSecret": "string",
"scopes": "string"
},
"userMatchFields": "string",
"logo": "string"
}
]
}'
{
"code": 200,
"message": "创建成功",
"data": {
"id": "61dfe7d4d430de06901c2f1a",
"name": "微信",
"type": "wechat",
"connections": [
{
"id": "61dfe7d499f6ca1049e8e4c9",
"type": "wechat:pc",
"identifier": "dsfsdf",
"displayName": "displayName",
"fields": {
"callbackURL": "sdfsdfsdf",
"clientID": "sdfsdf",
"clientSecret": "sdfsdfsdf"
},
"logo": "https://files.authing.co/authing-console/social-connections/icon_pcwexin@2x.png",
"userMatchFields": null
}
]
}
}