-
-
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
网页授权 跳转 #202
Comments
这个问题我修复一下,谢谢! |
overtrue
added a commit
to overtrue/socialite
that referenced
this issue
Jan 4, 2016
overtrue
added a commit
to overtrue/socialite
that referenced
this issue
Jan 4, 2016
overtrue
added a commit
to overtrue/socialite
that referenced
this issue
Jan 4, 2016
overtrue
added a commit
to EasyWeChat/docs
that referenced
this issue
Jan 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 未登录
if (empty($_SESSION['wechat_user'])) {
return $oauth->with(['target_url' => 'user/profile'])->redirect();
// 这里不一定是rturn,如果你的框架action不是返回内容的话你就得使用
// $oauth->with(['target_url' => 'user/profile'])->redirect()->send();
}
使用官网文档测试,获取授权后不能跳转到target_url, 在授权页面打印GET变量 没有target_url
The text was updated successfully, but these errors were encountered: