收藏
回答

微信网页授权,用户未授权拿到access_token,返回的unionId是别人的unionId么?

微信网页开发-网页授权,用户未授权拿到code,第二步:通过code换回的结果中unionId字段是虚假的、随意的么? 为什么我这返回的unionId字段是其他人的unionId,而且是我们同一个开放平台的另一个人?

比如下面这个结果,unionId就是我们平台下其他人的unionId。

{"body":{"access_token":"68_RSZwATwNV_Omzo5luKwkFErqdIqaasJoPQEPOf4mKLczNmHvwZBQMuuhUkSuBIJKCNJIgQG1CbJL8slRM7UofdFE-armGg22f8ZMpgczx0Q","refresh_token":"68_9PahDCDfP37GW-jXGTyd_mInTly3K3Z1auCZ3oD835Mur5Z-P5Ic2gkF41LK-Iv7VNY0RZ53Z3PTJraVnT_E1WmNR8dWwSzkh2GuP5vr5yg","unionid":"oQ9KswtgM6KR_egZnvZc8tqZBUlc","openid":"o2H0469VHIzzzdFiHe7TGucrMsc8","scope":"snsapi_userinfo","is_snapshotuser":1,"expires_in":7200},"headers":{"Connection":["keep-alive"],"Content-Type":["text/plain"],"Date":["Mon, 24 Apr 2023 09:54:36 GMT"],"Content-Length":["403"]},"statusCode":"OK","statusCodeValue":200}

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签