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

登录机制对于其他小程序的支持开发 #18

Open
wolf1991 opened this issue Mar 2, 2022 · 1 comment
Open

登录机制对于其他小程序的支持开发 #18

wolf1991 opened this issue Mar 2, 2022 · 1 comment

Comments

@wolf1991
Copy link

wolf1991 commented Mar 2, 2022

如果小程序要兼顾其他小程序 登录模块该从什么角度进行改造

@wolf1991
Copy link
Author

wolf1991 commented Mar 3, 2022

目前个人尝试有2个方向
1是继承baseAuth做toutiaoAuth 然后就走authLogin过 在里面做uni.login拿授权 并且交换openid, 但这样普通手机登录好像就不能用了
2是继承wechatAuth 用头条授权替代微信授权 但好像wechatAuth内部函数有wx.的api调用

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