From 53c24ecd7bbf2ebe0992b5bdf8c1a30ce31247bb Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 8 Oct 2021 18:53:31 +0200 Subject: [PATCH] wip #4765 --- src/CubistSocialiteAuthServiceProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CubistSocialiteAuthServiceProvider.php b/src/CubistSocialiteAuthServiceProvider.php index c6701e1..7a25c2a 100644 --- a/src/CubistSocialiteAuthServiceProvider.php +++ b/src/CubistSocialiteAuthServiceProvider.php @@ -21,6 +21,8 @@ class CubistSocialiteAuthServiceProvider extends AuthServiceProvider Auth::viaRequest('socialitegoogle', function (Request $request) { try { $user= User::fromProvider('google'); + debug('viarequest/socialitegoogle',$user); + return $user; } catch (\Exception $e) { return null; } -- 2.39.5