The package used is this Https://github.com/SocialiteProviders/Weixin-Web
The code is as follows:
public function weixin() { return \Socialite::with('weixinweb')->redirect(); }public function weixin_callback() { $oauthUser = \Socialite::driver('weixinweb')->user(); var_dump($oauthUser); }
Has anyone ever used a login in socialite providers?
Callback prompt After:
Reply content:
The package used is this Https://github.com/SocialiteProviders/Weixin-Web
The code is as follows:
public function weixin() { return \Socialite::with('weixinweb')->redirect(); }public function weixin_callback() { $oauthUser = \Socialite::driver('weixinweb')->user(); var_dump($oauthUser); }
Has anyone ever used a login in socialite providers?
Callback prompt After:
Use the following version to do so. Should be a version conflict, compatibility issue.
"socialiteproviders/manager": "2.1.2", "socialiteproviders/weibo": "2.0.1", "socialiteproviders/qq": "2.0.3", "socialiteproviders/weixin-web": "2.0.1", "socialiteproviders/weixin": "2.1.1",