© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
Josh

Panel::loginRouteSlug not working

I am using
->loginRouteSlug('sign-in')
->loginRouteSlug('sign-in')
to direct Filament to use my already existing login page for authenticating instead of having its own, but it keeps giving me
Route [login] not defined.
Route [login] not defined.
error when I go to my panel.

Am I doing this wrong?
Solution
The route slug is just the name of the path in the url. It’s still trying to find a route named ‘login’. You could probably just do a redirect in web.php from ‘admin/login’ to ‘/sign-in’
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Panel domains not working on v4
FilamentFFilament / ❓┊help
8mo ago
Browser refresh not working in new panel
FilamentFFilament / ❓┊help
17mo ago
filament v4 $panel->login(Login::class) not working
FilamentFFilament / ❓┊help
6mo ago
Tabs to filter the records(Panel Builder) not working
FilamentFFilament / ❓┊help
3y ago