Panel Authentication Route not defined

When performing artisan route:list, the following are defined:
GET|HEAD admin .................................................... filament.admin.pages.dashboard › Filament\Pages › Dashboard
GET|HEAD admin/login ....................................................... filament.admin.auth.login › Filament\Pages › Login
POST admin/logout ........................................... filament.admin.auth.logout › Filament\Http › LogoutController
GET|HEAD admin .................................................... filament.admin.pages.dashboard › Filament\Pages › Dashboard
GET|HEAD admin/login ....................................................... filament.admin.auth.login › Filament\Pages › Login
POST admin/logout ........................................... filament.admin.auth.logout › Filament\Http › LogoutController
but when visit the admin login page, the route is not defined? Route [filament.admin.auth.login] not defined.
1 Reply
SonjaTuro
SonjaTuroOP11mo ago
I just realised if I manually visit /admin/login that it seems to find the route, but then fails with Route [livewire.update] not defined., so must have a issue somewhere. For those of you wondering, I found that I had accidentally removed RouteServiceProvider from the providers list in app.php (most likely when adding the custom Provider to the filament plugin I was building). The lesson here is, never let me near a keyboard.
Want results from more Discord servers?
Add your server