我正在使用这个包,https://github.com/artdarek/oauth-4-laravel但只获取id和用户名。我需要其他数据,如电子邮件,名字,姓氏等
我使用这个包也需要与谷歌集成登录
$result = json_decode( $fb->request( '/me?fields=email,first_name,last_name,picture' ), true );
这两个步骤解决了我的问题。但是文档中没有找到它。