Apple OAuth

This commit is contained in:
David Bomba 2022-07-13 16:03:24 +10:00
parent 2301409f16
commit 49eb1bac9e

View File

@ -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);
}