Useful for choosing an account if a default account is outside the scope of a G Suite organization.
public function startRegister($socialDriver)
{
$driver = $this->validateDriver($socialDriver);
public function startRegister($socialDriver)
{
$driver = $this->validateDriver($socialDriver);
+ if ($socialDriver == 'google') {
+ return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
+ }
return $this->socialite->driver($driver)->redirect();
}
return $this->socialite->driver($driver)->redirect();
}