Multi tenancy with multiple database with stancl/tenancy package
Hi,
I'm developing a Saas with multi tenancy with multiple database(one tenant->one database) using the package stancl/tenancy.
Also have two panels, one for the administration for the tenants and the other for the users of the tenants.
Everything seems well, but when i try to login with the Tenan Panel and the user register for that tenant i can not login 'cause it says "These credentials do not match our records.".
How can i configure Filament to accept the config database of the tenant?, in this case identify the tenant by its domain:
foo.localhost
bar.localhost
And the Administration tenant is:
central.localhost
Note: when i try to login with the user of the Admin Panel with the Tenant Panel it throws an error of bad method call getTenants() but if i return to the Admin Panel it shows the dashboard.
I'm developing a Saas with multi tenancy with multiple database(one tenant->one database) using the package stancl/tenancy.
Also have two panels, one for the administration for the tenants and the other for the users of the tenants.
Everything seems well, but when i try to login with the Tenan Panel and the user register for that tenant i can not login 'cause it says "These credentials do not match our records.".
How can i configure Filament to accept the config database of the tenant?, in this case identify the tenant by its domain:
foo.localhost
bar.localhost
And the Administration tenant is:
central.localhost
Note: when i try to login with the user of the Admin Panel with the Tenant Panel it throws an error of bad method call getTenants() but if i return to the Admin Panel it shows the dashboard.

