New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login attempt stucks and fails when first time login. Works after refreshing the page #32102
Comments
All my laravel sites have been suffering from this recently. At one point I thought php 7.4 may have fixed it, but it seems to be happening with 7.4 too |
@ScriptingBeating what browser? For me it is Chrome only, 1password maybe? |
@timrspratt Yup it's in chrome. My old websites are working fine. But my two new websites are suffering from this. I am also using LastPass. |
But why both lastpass and 1password creating the same problem ? |
I'm currently running a project on Laravel 7.3 and PHP 7.4 where the login works just fine. Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue. Thanks! |
Others and me are facing the same problem. (https://laracasts.com/discuss/channels/laravel/laravel-got-stuck-after-login-laravel-58) @ScriptingBeating have you found a solution for the problem? |
@blaab2 Yeah the problem is related to the behaviour of some browser extensions like lastpass. This has nothing to do with the framework. Either disable your extensions or try in incognito mode. |
I'm facing the same problem these days with Laravel 7.x, but I did not use any password related chrome extension. Guessing maybe this issue is related to telescope? |
Laravel 5.8 also facing this issue.
|
I am experiencing the same issue. Login gets stuck in Chrome, although the user is actually logged in, it just doesn't redirect. If I refresh after it being stuck for a while, it redirects properly. Using Laravel 7, Chrome Incognito mode (so no browser extensions causing this), and using the default Laravel and Authentication setup. No customization. |
Just out of curiousity what session driver is everyone using? Has anyone tried changing it from file based to an in memory driver such as redis to see if that makes any difference? |
Hey @mark1282 I'm using the default Laravel 7 setup. I created a brand new Laravel project yesterday, ran I think it may actually be a bug in Chrome, because I don't see it happen in any other browser. |
I'm having this issue on my local homstead evironment on Windows 10 in chrome. Just worried this is a more widespread issue. |
Hey everyone, I'm locking this issue because it either has gone off-topic, become a dumping ground for things which shouldn't be in an issue tracker or is just too old. Please try to discuss things further on one of the below channels: |
Description:
First attempt to login (post route) after starting the server fails and stuck on loading and if you refresh the page and try again it works. This issue is in both Laravel's default login and even when you create login from scratch.
Steps To Reproduce:
Create a new laravel project with authentication and try to login the first time
The text was updated successfully, but these errors were encountered: