1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Oauth fix for mobile app

This commit is contained in:
Hillel Coren 2018-09-27 15:53:56 +03:00
parent 7522494e91
commit 862bd4d163

View File

@ -6,7 +6,7 @@ class Google implements ProviderInterface
public function getTokenResponse($token)
{
$client = new \Google_Client(['client_id' => env('GOOGLE_CLIENT_ID','')]);
$client = new \Google_Client();
return $client->verifyIdToken($token);
}