Support the ongoing development of Laravel.io →
Configuration Authentication Session
Last updated 1 month ago.
0

Have you tried removing all the session cookies? I ran into a similar problem like that, and logging out/clearing cookies and sessions solved the problem.

Last updated 1 month ago.
0

I didn't. I'm surprised that works! I had previously logged out and tried to log back in, but not gone the extra step of trying to clear out the cookies afterward. Do you know why that extra step is necessary?

Last updated 1 month ago.
0

@mcordingley I ran into the same issue. I cleared all my sessions but it still doesn't work. After login the subsequent requests are not authenticated. The Set-Cookie value is the same and the domain is set to .xxx.com.

0

I confirm changing the session domain in production causes all existing users to be unable to login. Even after emptying the session directory (if session runs using the file driver).

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.