F
Filament2mo ago
Obala

Multi sub domain session sharing

How can I share user sessions between two Filament dashboards running on different subdomains (e.g., admin.example.com and dashboard.example.com) that use the same Laravel codebase and database? I want users to remain logged in when switching between these dashboards I've already set SESSION_DOMAIN=.example.com in my .env file, but it's not working[it doesn't redirect to the dashboard page for both]. What other configurations or code changes might I need to make this work?
Solution:
I think I had issues with the browser caching, cos it's working perfectly fine on another browser
Jump to solution
3 Replies
LeandroFerreira
LeandroFerreira2mo ago
Medium
Multi-subdomain Sessions in Laravel
Configure Laravel to enable session sharing between projects under different subdomains
Obala
Obala2mo ago
let me look it through, thanks
Solution
Obala
Obala2mo ago
I think I had issues with the browser caching, cos it's working perfectly fine on another browser
Want results from more Discord servers?
Add your server