Subdomain / Domain based routing w/ Multitenancy. 419 Page Expired
I'm testing out Filament with Spatie's Multitenancy package.
The tenant is decided based on the current request's domain or subdomain. If it's a subdomain of the app's TLD then we use the tenant's subdomain, else we use the domain.
So far, I'm only testing with subdomains. I'm able to login and get redirected to the proper tenant & subdomain (though I have to login twice for some reason).
But, anytime I try to edit a resource I get a Page Expired error. Changing SESSION_DOMAIN from null to
Any ideas? Am I missing something? Google hasn't been too helpful for me.
The tenant is decided based on the current request's domain or subdomain. If it's a subdomain of the app's TLD then we use the tenant's subdomain, else we use the domain.
So far, I'm only testing with subdomains. I'm able to login and get redirected to the proper tenant & subdomain (though I have to login twice for some reason).
But, anytime I try to edit a resource I get a Page Expired error. Changing SESSION_DOMAIN from null to
localhost or *.localhost appears to cause more of these errors everywhere. Keeping it null only causes errors on form submissions.Any ideas? Am I missing something? Google hasn't been too helpful for me.