app/Http/Controllers/Auth/LoginController.php
/**
     * Redirect the user to the GitHub authentication page.
     *
     * @return \Illuminate\Http\Response
     */
Redirect the user to the GitHub authentication page.
@return \Illuminate\Http\Response
Redirect the user to the GitHub authentication page . @return \ Illuminate \ Http \ Response
public function redirectToProvider()
    {
        return [
          "data" => Socialite::driver('github')->stateless()->redirect()->getTargetUrl()
        ];
    }
public function redirectToProvider ( ) { return [ " data " => Socialite :: driver ( 'github' ) -> stateless ( ) -> redirect ( ) -> getTargetUrl ( ) ] ; }
Redirect the user to the GitHub authentication page.
Redirect the user to the GitHub authentication page .