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:Jump to solution
I think I had issues with the browser caching, cos it's working perfectly fine on another browser
3 Replies
Medium
Multi-subdomain Sessions in Laravel
Configure Laravel to enable session sharing between projects under different subdomains
let me look it through, thanks
Solution
I think I had issues with the browser caching, cos it's working perfectly fine on another browser