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

根据APPID获取公众号授权code #167

Open
latrell opened this issue Jul 16, 2019 · 0 comments
Open

根据APPID获取公众号授权code #167

latrell opened this issue Jul 16, 2019 · 0 comments

Comments

@latrell
Copy link

latrell commented Jul 16, 2019

重要:请不要删除模板自行填写,所有不按照模板填写的issue,我们将不会处理。

描述这个功能的缺失带来的问题
当遇到需要授权登陆公众号的场景时,比如只能通过微信登陆的H5游戏等,需要获取登陆授权的code,模拟登陆操作。

描述你期待的解决方案
希望能通过公众APPID获取到code值,再由应用层获取登陆后的cookie

描述你考虑过的备选方案
没有备选方案,应用只有微信登陆一个登陆口。

其他信息
根据微信网页授权的文档:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140842
只需要执行第一步:用户同意授权,获取code,即可,应用层可带上code模拟redirect_uri请求获得cookie进行后续操作。

[enhancement]

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