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
laravel 版本报错 Undefined constant "Overtrue\Socialite\Contracts\ABNF_ID" #248
Comments
更新到新版试试: composer require overtrue/socialite:^4.5.1 |
好了,顺便问下,因为做个APP和网站,所以加了微信的别名,这里怎么获取provider的名称啊
|
$userInfo->getProvider()::NAME; |
会不会很难看0.0 |
欢迎 PR。 |
Undefined constant "Overtrue\Socialite\Contracts\ABNF_APP_ID" 一样的错误 |
@yushine 啥版本? |
@overtrue facebook mapUserToObject 方法, 第一行的 Contracts\ABNF_ID 自动加载会有问题,google不会有问题,因为 User implements Contracts\UserInterface 会正常加载 |
版本号多少?
yushine ***@***.***>于2022年10月17日 周一09:34写道:
… @overtrue <https://github.com/overtrue> facebook mapUserToObject 方法, 第一行的
Contracts\ABNF_ID 自动加载会有问题,google不会有问题,因为 User implements
Contracts\UserInterface 会正常加载
Facebook:
[image: image]
<https://user-images.githubusercontent.com/728951/196070792-7bfd1b44-91d2-4f1b-8ba8-8b1cf41b76f3.png>
Google:
[image: image]
<https://user-images.githubusercontent.com/728951/196071025-d909bf5d-7910-4b8a-b6ca-d87fa21b558f.png>
—
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALHOYBBA6H6Z4MPSMJOZFDWDSUJ7ANCNFSM6AAAAAAQRUJNXQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
4.5.1 和 4.6.x 都一样报错 |
@yushine 你在什么场景下用的,代码贴一下? |
@overtrue 和 readme 的代码一致 |
Laravel : 9.30.1
Laravel-sociclite: 4.0.1
php : 8.1
The text was updated successfully, but these errors were encountered: