socialite laravel 7

33

$user = Socialite::driver('github')->userFromToken($token);
return Socialite::driver('google')->stateless()->user();
$user = Socialite::driver('twitter')->userFromTokenAndSecret($token, $secret);
return Socialite::driver('github')
    ->scopes(['read:user', 'public_repo'])
    ->redirect();

Comments

Submit
0 Comments