I'm using stancl/tenancy library.
I have a central domain (example.com) and a tenant subdomain (tenant.example.com).
The problem is that the login in the tenant subdomain is trying to auth through central database. I have:
dd(tenant()); // this shows the right tenant
Auth::attempt($credentials_array); // this tries to auth in central database
I've been a couple of days checking configuration and everything seems to work fine. Any idea of what could I be missing?
Thank you!