{"errCode":"uni-id-config-field-required","errMsg":"Config field required: requestAuthSecret"}
requestAuthSecret在那设置
外部系统联登
云函数日志
请求入参: {
"args": {
"path": "/externalLogin",
"httpMethod": "POST",
"headers": {
"content-length": "157",
"x5-uuid": "00af137c37d4d36c74fdd60a1dda44e3",
"uni-id-signature": "1E00CBA8F8B9347006CB8F3C72025F62CBA26F37C2E827C2CB9E928909AA93B9",
"x-client-ip": "183.191.102.123",
"uni-id-nonce": "A41RdPO7VfZorjpybZ",
"host": "fc-mp-e9bdeab5-37fe-4d15-b378-930152c69a41.next.bspapp.com",
"content-type": "application/json",
"cache-control": "no-cache",
"cookie": "aliyungf_tc=1937c4c24725aa0196dacfbfe0d72335ba92d7fa43b552659da41d52a7d13a8b; acw_tc=ac11000117018425578067933e452ab5faeaf4c14f60899d0b6aa2be45adeb",
"x-forwarded-for": "183.191.102.123, 120.27.173.90, 39.96.119.198",
"x-real-ip": "183.191.102.123",
"uni-id-timestamp": "1701842719",
"traceparent": "00-75c3aadc760aae0d24369ff38c9de4cf-1cc377f7adeb625e-00",
"x-sinfo": "on",
"x-forwarded-by": "172.28.211.114:80",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47"
},
"queryStringParameters": {},
"isBase64Encoded": false,
"body": "{\"clientInfo\":{\"uniPlatform\":\"app\",\"appId\":\"此处是我的实际appid\",\"deviceId\":\"6346s5ad4f65asd4f65dsa4f\"},\"uniIdToken\":\"\",\"params\":{\"externalUid\":\"12312344123432\"}}"
},
"requestId": "ac1cd3721701842721281197108"
}
请求响应状态: success
2 个回复
DCloud_uniCloud_CRL
看下uni-id的配置文件文档
8***@qq.com
您好,请问这个问题您解决了吗,我现在出现了相同的问题,想请教一下