Replies: 4 comments 6 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
还没解决吗?我也遇到这个问题了 |
Beta Was this translation helpful? Give feedback.
2 replies
-
出现同样的问题, 偶尔获取不到openid,求教什么配置有问题吗? |
Beta Was this translation helpful? Give feedback.
1 reply
-
$oauth->userFromCode($code); 调用这个前,请先配置scope 如 $oauth->scopes(['snsapi_base'])->userFromCode($code); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
输出的结果是
通过
$user->getId();
获取的结果为NULL,但是在token_response
中是有openid的,请问是我的使用姿势不对,还是需要再次进行什么操作?Beta Was this translation helpful? Give feedback.
All reactions