I need customize the login page with two forms, it is possible?

I have an application with multiple panels, and a I need one login page to both panels (like attach image), is possible do it? how can a I do it? thanks guys.
No description
4 Replies
Dennis Koch
Dennis Koch3mo ago
Create your own Login page and use this for ->login(YourPage::class). Check Filaments login class for reference Why do you want to split them though? Different auth guards?
Mohamed Ayaou
Mohamed Ayaou3mo ago
this an example of how to customize the login page, just override the parent class methods: https://filamentexamples.com/tutorial/register-wizard-steps
Filament Examples
Registration with Wizard Steps
If you have a longer registration form, you may want to split it into steps, with wizard, including different validation rules.
Mohamed Ayaou
Mohamed Ayaou3mo ago
Filament Examples
Filament Multiple Panels: Single Login Page for Admin/User Roles
Having multiple panels is excellent for separating users from other roles. However, managing each different login page can be tricky. So, let's make one login page for all panels and switch redirects based on roles.
Filament Examples
Filament Registration: Customize Redirect Page
The dashboard is the default page after login/registration. But what if we want something custom? How to redirect the user to a different resource/page?
Mohamed Ayaou
Mohamed Ayaou3mo ago
They will give you the main point and then find out yourself

Did you find this page helpful?