Redirect initial route according to Role
How do I define the route where the user goes according to their Role after logging in? ex. if he is an Admin he goes to the Dashboard if he is a Manager he goes to Products. Thanks.
Solution:Jump to solution
Filament
Customize redirect after admin panel login by David VINCENT - Trick...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
2 Replies
Solution
Filament
Customize redirect after admin panel login by David VINCENT - Trick...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
I understood. I thought there was some method within the Login Page that would do this. This way, your example would be like creating your own Provider to separate the routes. Thank you very much.