Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否支持微信小程序登录,还有何时会升级到standard 2.1 #13

Open
LGinC opened this issue Oct 25, 2019 · 0 comments
Open

Comments

@LGinC
Copy link

LGinC commented Oct 25, 2019

小程序登录实现起来有点麻烦呀。
1.wx.login()获取accessCode,传入ids4调用微信jscode2session拿到openid和session_key(可能有unionId)。
2.wx.getuserinfo()获取到加密数据和加密向量,再调用某个接口传入ids4,用上一步获取到的session_key对加密数据进行解密,解密完成就能拿到用户信息了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant