© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Chris Lopez

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.
image.png
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

multi tenancy with Filament V3 & stancl/tenancy package?
FilamentFFilament / ❓┊help
3y ago
Multi-tenancy Multiple Database
FilamentFFilament / ❓┊help
3y ago
Multi-Tenancy with stancl/tenancy (v4-beta)
FilamentFFilament / ❓┊help
13mo ago
Multi tenancy with multiple database support
FilamentFFilament / ❓┊help
2y ago