Authorization: Bearer ********************
{
"strategy": "wechat:pc",
"name": "wechat:pc",
"options": {
"app_key": "jfjiewojef",
"app_secret":"fjieiofefjoifwjoi"
},
"display_name": "微信PC登录",
"metadata": {},
"enabled_clients": [
"32j32jfeiojefoiefjioefijojioefjefio",
"42j32jvoqpewhgwpeifjoiopefojewjfeoo"
]
}
curl --location -g --request POST 'https://..authok.cn/api/v1/connections' \
--header 'Content-Type: application/json' \
--data-raw '{
"strategy": "wechat:pc",
"name": "wechat:pc",
"options": {
"app_key": "jfjiewojef",
"app_secret":"fjieiofefjoifwjoi"
},
"display_name": "微信PC登录",
"metadata": {},
"enabled_clients": [
"32j32jfeiojefoiefjioefijojioefjefio",
"42j32jvoqpewhgwpeifjoiopefojewjfeoo"
]
}'