Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hsnww's avatar
Level 1

Login Issues in Laravel Filament After Deployment on Laravel Forge Despite Working Locally

Hi. I have created a new Laravel project and fully relied on Filament's authentication system after removing all default authentication systems like Breeze. While working on the local server, everything was functioning smoothly, and I encountered no issues with authentication or login.

However, after deploying the project to the web using Laravel Forge, I started experiencing login issues. Even though the project works perfectly fine on the local server, I face problems when trying to log in after deploying it to the production server. I ensured that I removed all old authentication systems and solely relied on Filament. I also published the necessary configuration files using php artisan vendor:publish --tag=filament-config. Despite this, the issue only appears when deploying to the web.

I have tried adjusting session settings and permissions, but the problem persists. What is puzzling is that the project works normally in the local environment but struggles in production.

0 likes
0 replies

Please or to participate in this conversation.