2FA no longer works
-
We are a siteground customer, and have a dev site spun up, to which I’ve been adding content over the last month or so. We have both a custom login url and 2FA enabled, and I’ve been able to sign in OK up until this morning.
This morning the ‘do not challenge me for 30 days’ timer was up, so I needed to reenter my 2FA code; however, when I did, it redirected me back to the regular (non-admin) login url, with blank fields, stating that both username and password were empty.
I signed in to the site using Siteground’s admin login and, thinking that my 2FA had somehow expired, I reset the 2FA option for my admin account, so I could then sign in after refreshing my 2FA. This, however, didn’t work; I’ve been unable to add a new 2FA for my account, in either Firefox or Edge.
I’ve cleared my browser cookies and cache, and restarted my browser (both Firefox and Edge [Chromium-based]). I’ve cleared Siteground’s cache. I’ve restarted my PC (Windows 11 Pro). Nothing has enabled me to sign in with 2FA enabled.
My plugin is on the latest version (1.4.12), and I can state that simply clearing the cookies, and restarting the browser, do not work.
I’ve looked in Siteground’s activity log, and it’s recognising that the initial request to sign in is from a registered user; however, the next state of the process it says is from an unknown user (with the same IP address), and it recognises that the interaction is a human not a bot. In each case it gives a 200 response. Digging into the console on my browser, it states the following:
Cookie “wordpress_test_cookie” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
This appears to happen with all other cookies set at login, with none of them having the required SameSite=None attribute set.
I hope this information helps to resolve this issue.
- The topic ‘2FA no longer works’ is closed to new replies.