socialite
This commit is contained in:
@@ -75,8 +75,7 @@ class LoginController extends Controller
|
|||||||
* @return Socialite
|
* @return Socialite
|
||||||
*/
|
*/
|
||||||
public function redirectToProvider() {
|
public function redirectToProvider() {
|
||||||
//return Socialite::driver('eveonline')->redirect();
|
return Socialite::driver('eveonline')->redirect();
|
||||||
return Socialite::with('eveonline')->redirect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -85,8 +84,7 @@ class LoginController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function handleProviderCallback() {
|
public function handleProviderCallback() {
|
||||||
//Get the sso user from the socialite driver
|
//Get the sso user from the socialite driver
|
||||||
//$ssoUser = Socialite::driver('eveonline')->user();
|
$ssoUser = Socialite::driver('eveonline')->user();
|
||||||
$ssoUser = Socialite::with('eveonline')->user();
|
|
||||||
|
|
||||||
if(Auth::check()) {
|
if(Auth::check()) {
|
||||||
//If a refresh token is present, then we are doing a scope callback
|
//If a refresh token is present, then we are doing a scope callback
|
||||||
|
|||||||
Reference in New Issue
Block a user