Everything is setup and ready, I'm going with the single database approach and subdomain.
I only have 1 issue:
When I visit both
localhost/admin
localhost/admin
and
sub.localhost/admin
sub.localhost/admin
to login to filament using the same filament-user, it logs in.
When I create a user without the filament-user command, aka factory and try to login (the user has relationship with tenant_id) I get credentials error.
How can I make each subdomain (tenant) have it's own filament users?
Note: When I
dd()
dd()
users , it's shows the correct users of each tenant.