Logout Route
Is there a way to modify the default logout route? I just want to point it in the root url.
5 Replies
Yes
You need override LogouteResponse

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.
https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect
here is a tutorial for your exact problem, I just implemented it and it works fine for me
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.
Wow, thank you for your responses!
For those that will stumble this kind of question again in the near future. This is the answer