问题 I'm building a site with a dynamic subdomain system eg (name.domain.com). I'm using Ubuntu with laravel's serve command. ive set it all up in my routes as so: Route::domain('{x}.localhost')->group(function (){ Route::get('/url/', 'SomeController@someAction')->middleware('can:xyz,x')->name('someName'); }); Now, everything works great, apart from the fact Auth is subdomain locked eg(xyz.localhost:8000/ , localhost:8000/) require separate logins. after a bit of googling I read, I can overwrite