Stancl Tenancy
Related to:
https://discord.com/channels/883083792112300104/1103784306461134950
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
and 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()
users , it's shows the correct users of each tenant.0 Replies