Redirecting to a specific filament resource after authenticating correctly

I have a single panel in my app and I'd like to set first view to a specific resource other than '/admin'' when logging in as a filament user. I don't see anything in the docs that seems to configure this - is this possible? I wish to direct the user to admin/resource_1 instead - any advice?
Solution:
Here is an tutorial for a logout redirect to start with: https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect
Filament
How To Customize Logout Redirect by Tim Wassenburg - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
Jump to solution
3 Replies
bernhard
bernhard6d ago
I haven't tried it out, but you could hook to the \Filament\Http\Responses\Auth\Contracts\LoginResponse
Solution
bernhard
bernhard6d ago
Here is an tutorial for a logout redirect to start with: https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect
Filament
How To Customize Logout Redirect by Tim Wassenburg - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
islandnuge
islandnugeOP5d ago
thank you!

Did you find this page helpful?