4 days ago


Posted 4 days ago by RainDeer

I have a installation of Laravel 5.8.

What I'm trying to accomplish is that:

  • A user not logged in should land at auth/login
  • After a user logs in they should land on [email protected]'

A few simple web routing rules:

Route::get('/', function () {
    return view('auth/login');


Route::group( ['middleware' => 'auth' ], function()
    Route::get('/', '[email protected]');
    Route::resource('lists', 'ListController');

I have also changed all the redirects in all Http/Controllers/Auth classes to protected $redirectTo = '/lists';.

When I access the site I reach auth/login and login. I then get a ERR_TOO_MANY_REDIRECTS which appears to be between auth/login and [email protected]' but I can't figure out why that would happen?

Any ideas?

Please sign in or create an account to participate in this conversation.