mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Apple OAuth
This commit is contained in:
parent
2301409f16
commit
49eb1bac9e
@ -366,10 +366,6 @@ nlog($response);
|
||||
|
||||
private function getSocialiteUser(string $provider, string $token)
|
||||
{
|
||||
|
||||
if($provider == 'apple')
|
||||
return Socialite::driver($provider)->getAccessToken($token);
|
||||
|
||||
return Socialite::driver($provider)->userFromToken($token);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user