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:
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.
Jump to solution
2 Replies
Solution
Jap
Jap10mo ago
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.
joao nivaldo
joao nivaldoOP10mo ago
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.
Want results from more Discord servers?
Add your server