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 'Authorization: Bearer <token>' \
--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"
]
}'{
"id": "con_j2ojf9fjfeoifejoiefi",
"name": "wechat:pc",
"strategy": "wechat:pc",
"display_name": "微信PC登录",
"options": {
"app_key": "jfjiewojef",
"app_secret": "fjieiofefjoifwjoi"
},
"metadata": {},
"enabled_clients": [
"32j32jfeiojefoiefjioefijojioefjefio",
"42j32jvoqpewhgwpeifjoiopefojewjfeoo"
]
}