F
Filamentβ€’14mo ago
Veur

Access 1 Filament panel via multiple domains

I want to host a Filament panel on multiple domains. My panel config looks like this:
public function panel(Panel $panel): Panel
{
return $panel
->id('client')
->domains([config('app.domain1'), config('app.domain2')])
public function panel(Panel $panel): Panel
{
return $panel
->id('client')
->domains([config('app.domain1'), config('app.domain2')])
The login screen loads fine on both domains. But when I try to login from domain1, I'm redirect to the login screen of domain2. Logging in from domain2 works fine. Is it possible to get it to work on both domains?
Solution:
Are you wanting to load it from more domains too?
Jump to solution
3 Replies
Solution
toeknee
toekneeβ€’14mo ago
Are you wanting to load it from more domains too?
toeknee
toekneeβ€’14mo ago
Reason I ask is that if you don't define a domain, any domain should work that is supported by the server
Veur
VeurOPβ€’14mo ago
Wow, thanks πŸ˜†
Want results from more Discord servers?
Add your server