Multiple panels
How to I make sure when users login, they're redirected to the panel I want?
5 Replies
More context please
@Fredchess237 I have three panels. My object is to control login logic to redirect users to the authorized panel
Okay. So IMO this depends on what is the logic behing the three panels.
If you have one of those panels which can federate the login logic you can override the login page/controller of that panel and handle the redirection. If not, you can create a 4th panel where which would have only the login page (overrided as I said) and make your stuffs
Filament Daily
YouTube
Filament: Same Login Form for Multiple Panels
One of the approaches to auto-redirect the user and disable the other login page.
Original text-based tutorial: https://filamentexamples.com/tutorial/multiple-panels-sign-in-via-one-sign-in-page
@awcodes Thank you 🫡