5
Good morning, I’m trying to perform an auth with Ubdomain, but every time soon on the site returns the error of Too Many Redirects
.
This is my .env:
SESSION_DOMAIN=.meudominio.com.br
And the first line of my route is this:
Route::domain('sis.meudominio.com.br')->middleware('admin')->group(function (){
I was having a problem where all the Routes that weren’t in that group worked, so I had to put this on the website part:
Route::domain('meudominio.com.br')->group(function(){ Auth::Routes();
The Auth::Routes()
is there, because I wish only to log in the main path of the site.
The system is in the subdomain ??
– Lucas Antonio