FilamentF
Filament15mo ago
Jpac14

Disable tenant slug

Hey everybody,
I am trying to get stancl/tenancy and filament working together.
I have all the images and all that working, but I am trying to use your tenancy pages (https://filamentphp.com/docs/3.x/panels/tenancy#overview), like signup and that. But I also want to use their billing features.
the problem is I have this so far
        return $panel
          ->default()
          ->id('tenant')
          ->path('')
          ->login()
          ->brandName(fn () => tenant('name'))
          ->brandLogo(fn () => tenant_asset(tenant('logo')))
          ->favicon(fn () => tenant_asset(tenant('favicon')))
          ->tenant(Tenant::class, slugAttribute: null)

But I want to turn off the added slug, because it I am using subdomain identification from stancl. And when once I login I get redirect to a page that doesn't exist.
is this somehow possible to combine both worlds, use the billing and tenant signup pages + stancl?
I can provided any other files if needed. Any help would be appreciated.
Was this page helpful?