Separate Sessions for User and Admin Portals

I’m using Jetstream for a user (client) portal and Filament for an admin (employee) portal. These are two separate entities. I have already set up two guards (web and admin), but they both override the same session row in the database. As a result: 1. When I log out from one portal, it logs me out from both. 2. After logging into one portal, if I don’t refresh, I get a 419 expired error. If I refresh, everything works fine. Question: Can I separate the sessions, for example, by using an admin_sessions table? Or am I doing something else wrong? clarification: I have the same doubts that this user posted in this article : https://laracasts.com/discuss/channels/laravel/separate-sessions-for-user-and-admin-portals?page=1&replyId=946000 but I don't know how to apply the same solution please help 😫
Laracasts
2 Replies
Luiz
Luiz5d ago
Did you find the solution?
Yurikaso
YurikasoOP5d ago
I still don't have the solution, nor where to start, honestly.
Want results from more Discord servers?
Add your server