mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Oauth
This commit is contained in:
parent
821ed8678e
commit
9c8618ac34
@ -506,6 +506,7 @@ class LoginController extends BaseController
|
||||
public function handleProviderCallback(string $provider)
|
||||
{
|
||||
$socialite_user = Socialite::driver($provider)
|
||||
->with(['redirect_uri' => config('ninja.app_url')."/auth/google"])
|
||||
->user();
|
||||
|
||||
if($user = OAuth::handleAuth($socialite_user, $provider))
|
||||
|
Loading…
x
Reference in New Issue
Block a user