Use Single Login Route For Multiple Panels

I'm using multiple panels in my Filament app, but each panel has its own login page.

I want a single login page at domain/login, and after authentication, users should be redirected to their respective panel based on their role.

Example:
Instead of separate login pages for each panel:

admin/login
group/login

I want a unified login page at domain/login for all users. After login:

A user with the admin-user role should be redirected to the AdminPanel.
A user with the group-user role should be redirected to the GroupPanel.

How can I achieve this?
Was this page helpful?