Single Login and Register Process for Multiple Panels

Hello everyone! I'm a beginner in FilamentPHP. I have a question.

How do I achieve a single login and register process across multiple panels?

When I put ->login to the AdminPanelProvider, I can login in /admin/login, and when I put also ->login in CustomerPanelProvider, I can login in /customer/login.

I want to be able to have only https://localhost.../login and redirect the user to either the Customer or Admin Panel if it meets the required role. How do I achieve this in Filament?

Thanks in advance!
Solution
I created a custom login system outside of filament and connect them to each other
Was this page helpful?