Multi Tenant App #2058
-
Hello together, I have to accomplish the following task and I want to get some feedback from you. So I have to write a saas / multi tenant app. I have worked previously a little bit with filament and I love this piece of software so much! So I want to use it. I have looked into the package https://tenancyforlaravel.com/ and I think it solves many of my problems. But I currently struggel to implement the whole topic. I have to solve to topics:
So there are multiple topics and questions in the moment.
Thank you very much! Greetings, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 33 replies
-
Why did you want to split the admin in 2? You should probably just hide/show resources and pages using permissions, right? It is achievable, I've seen people use that package before by adding the middleware to the |
Beta Was this translation helpful? Give feedback.
-
With this configuration, I'm able to get the Filament admin panel to work for all tenants as if they were the central domain. Even if the tenant or domain doesn't exist, it always logs in as if it were the central domain. That's not the expected behavior. What am I missing here? |
Beta Was this translation helpful? Give feedback.
-
Hi @jappi00 @ayann @maxroby |
Beta Was this translation helpful? Give feedback.
-
Hi @jappi00 @ayann @maxroby @jmendozaf |
Beta Was this translation helpful? Give feedback.
-
I have successfully setup Filament to work with tenancyforlaravel.com, but I am using Filament 3.x and Livewire 3.x. I have a central admin panel, a tenant's admin panel and a tenant's portal panel as separate filament panels. Let me know if you are interested in the configuration. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay.
Yes, I am using PostgreSQL so I preferred to use the option of using a single Database but different schemas, one schema per tenant. I am also using identification by subdomain.
For ease of reference, I have decided to share my repo publicly as a starter code for anyone interested. Here is the link.
https://github.com/savannabits/filament-tenancy-starter
Pay attention to the following:
For AdminPanelProvider, I am using the
universal
…