© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
15 replies
Jap

Login not working (Production)

3️⃣v3✅ SolvedPanels
I need help fixing my login page, it works on local server with the same setup. I also added session_domain and app_url in env file. When i try to login it keeps redirecting me back to login page.
Solution
Thanks the problem was in livewire. I forgot to remove/comment this line of code in my service app provider.
Livewire::setUpdateRoute(function ($handle) {
    return Route::post('/custom/livewire/update', $handle);
});

Livewire::setScriptRoute(function ($handle) {
    return Route::get('/custom/livewire/livewire.js', $handle);
});
Livewire::setUpdateRoute(function ($handle) {
    return Route::post('/custom/livewire/update', $handle);
});

Livewire::setScriptRoute(function ($handle) {
    return Route::get('/custom/livewire/livewire.js', $handle);
});

I'm using it to configure livewire's update endpoint if my app is deployed in
https://example.com/custom
https://example.com/custom
.
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Login in production
FilamentFFilament / ❓┊help
3y ago
login page not found in production
FilamentFFilament / ❓┊help
2y ago
hasFiltersAction not working on production
FilamentFFilament / ❓┊help
3y ago
ImportAction not working in production
FilamentFFilament / ❓┊help
3y ago