I have a site that is running 9.4.8 but when I upgrade the site to 9.5.2 the login completely fails, the message that the user sees is “User is not registered. Check your authentication controller.” and in the Logs I see “Session made it to login_complete but was not attached to an authenticated session.”
I have cleared the cache
I have verified that the site.sites.default.seo.canonical_url is correct and includes https
I’m not sure how to proceed with troubleshooting. Has anybody else faced this issue and solved it?
I’m frustrated that the 9.5.x release(s) changed so much of the authentication flow but the Release Notes didn’t mention a single thing about those changes. It seems like when the core team is going to ship changes that are likely to cause breakage they should at least provide a warning.
I figured out where it’s coming from, I just haven’t been able to figure out why the session doesn’t get created. It’s the same thing on 2 servers so not likely to be server settings, and no overrides.
I tested this in my local dev server by pasting the code from the 9.4.8 file into the 9.5.2 file and was still able to login in to one of my dev sites running 9.5.2.
But, that is only in my dev wamp server.
I’ve upgraded over 20 sites the same way that I did this one and none of them have the issue, so I was more looking for somebody else here in the forums who has had this same issue and solved it.