mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add redirect URI to google auth requests
This commit is contained in:
parent
7981093d97
commit
85df91a6e8
@ -289,7 +289,7 @@ class LoginController extends BaseController
|
||||
$client = new Google_Client();
|
||||
$client->setClientId(config('ninja.auth.google.client_id'));
|
||||
$client->setClientSecret(config('ninja.auth.google.client_secret'));
|
||||
|
||||
$client->setRedirectUri(config('ninja.app_url'));
|
||||
$token = $client->authenticate(request()->input('server_auth_code'));
|
||||
|
||||
$refresh_token = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user