CoffeeCake Posted January 11, 2021 Posted January 11, 2021 I'm noticing an issue that on our site members who haven't selected "remember me" on login aren't staying logged in. They successfully authenticate, but then end up logged out. How would we troubleshoot what's going on here? I can replicate by going to an incognito window, log in with remember me unselected, and then after typing in 2FA, I'm logged out. If I check "remember me," I stay logged in as expected.
Guest Posted January 11, 2021 Posted January 11, 2021 1 hour ago, Paul E. said: I'm noticing an issue that on our site members who haven't selected "remember me" on login aren't staying logged in. They successfully authenticate, but then end up logged out. How would we troubleshoot what's going on here? I can replicate by going to an incognito window, log in with remember me unselected, and then after typing in 2FA, I'm logged out. If I check "remember me," I stay logged in as expected. Does this happen with all the applications / plugins disabled?
CoffeeCake Posted January 11, 2021 Author Posted January 11, 2021 Yes, if you mean third-party applications/plugins. I also tried removing Cloudflare from the equation to rule that out. Weirdly--if clearing cookies, things start working again. I also confirmed server time was correct (we sync with atomic time). Getting reports from users that they get logged out while composing posts and lose the content in CKEditor at times as well. I've not experienced this. In fact, I've seen stuff stay in CKEditor after it had been posted.. which seems odd.
Guest Posted January 12, 2021 Posted January 12, 2021 19 hours ago, Paul E. said: Yes, if you mean third-party applications/plugins. I also tried removing Cloudflare from the equation to rule that out. Weirdly--if clearing cookies, things start working again. I also confirmed server time was correct (we sync with atomic time). Getting reports from users that they get logged out while composing posts and lose the content in CKEditor at times as well. I've not experienced this. In fact, I've seen stuff stay in CKEditor after it had been posted.. which seems odd. Did you try all this on the default theme as well? What browser are people using for the most part where they see this happen?
bfarber Posted January 12, 2021 Posted January 12, 2021 I'd investigate what cookies are being set in each scenario to see what's missing.
CoffeeCake Posted January 12, 2021 Author Posted January 12, 2021 Sounds like a good idea @bfarber. Clearing cookies made be unable to reproduce, but I was getting the issue in incognito mode as well.
Recommended Posts