socialite

This commit is contained in:
2021-02-12 19:40:13 +09:00
parent 2bd74359ba
commit 9f7a3500dc
3 changed files with 1 additions and 21 deletions
@@ -99,25 +99,6 @@ class LoginController extends Controller
->redirect();
}
/**
* Redirect to the provider's website
*
* @return Socialite
*/
public function redirectToProviderAlt($profile = null, Socialite $social) {
//The default scope is public data for everyone due to the OAuth2 Token
$scopes = ['publicData'];
//Let's put some information in the session to designate this is an alt call
session()->put('altCall', true);
dd($social);
return $social->driver('eveonline')
->scopes($scopes)
->redirect();
}
/**
* Get token from callback
* Redirect to the dashboard if logging in successfully.