-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[bug]2个问题 #597
Comments
|
用源码 https://github.com/summerblue/phphub5 加入laravel-wechat组件后,出现这样的情况 |
@zhangmazi 情况呢?什么情况啊?你如何证明我上面的两个疑问的? |
用Log::debug调试,看日志发现的。 |
@zhangmazi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用的环境
PHP 版本:7.0.13
overtrue/wechat 版本:3.2.5
Laravel版本:5.1
问题及现象
二维码扫描登录,跳转后会报nginx 502错误。 大概分析了一下。在类OAuthAuthenticate->handle内,只要用了redirect()->to是不能提前session存储的,比如后面用with,这样不会报错502
其次,AbstractProvider->user()和WeChatProvider->user()2个重复调用,异味这第2次获取accesstoken所需要的code已经无效了。
The text was updated successfully, but these errors were encountered: