How to visit Filament dashboard from the central domain after integrating stancl/tenancy

I have setup stancl/tenancy according to the Filament docs and it works well together. However, I am now unable to visit Filament from the central domain, with error:
Hostname schoolserver.test does not include a subdomain.
Hostname schoolserver.test does not include a subdomain.
I understand the error because I set up stancl/tenancy to to identify tenants by subdomain (which, like I said, works well). It seems that including InitializeTenancyByDomain::class in Filament's middleware.base config entry makes the whole of Filament to be a tenant thing. Please, what are my options for allowing Cetral domain admin to visit Filament while tenants can still visit Filament?
5 Replies
damms005
damms00513mo ago
@Dan Harrin @zepfietje Please is this kind of integration possible with v3. I can delay shipping feature till 20th really. Or not, I can figure another way (that does not involve stancl tenant and central admin to have access to Filament). Advise, please.
Dan Harrin
Dan Harrin13mo ago
ive not used stancl/tenancy before
Dan Harrin
Dan Harrin13mo ago
if you want private consultation, https://filamentphp.com/consulting
Filament
Consulting - Filament
Looking for expert help with your Filament project? Schedule a consulting call with a Filament team member.
Zep Fietje
Zep Fietje13mo ago
This. Otherwise please don't mention us on help threads, @damms005.
damms005
damms00513mo ago
Oh. Sorry about that