Original title: My django app broke after windows reinstallation

Yesterday I reinstalled Windows and now my Django project’s Google login (using django-allauth v0.65.11) stopped working. I use a virtual environment and reinstalled the same dependencies (pip freeze matches exactly). Before the Windows reinstall, everything worked fine. Now, when I try to log in with Google, I get this error on the website: Third-Party Login Failure An error occurred while attempting to login via your third-party account.

The server console only shows this: [28/Aug/2025 14:57:57] “GET /accounts/google/login/callback/?state=h7XieABcvxcuZgpX&code=4%2F0AVMBsJjAduD5uQ3tC334RqFwdAan0rK229B-qJzKmTizkmO68aNYOHyq26FIaYf_WwVYDA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=1&prompt=consent HTTP/1.1” 200 1152

No errors, no traceback, nothing. Even my custom adapter methods:

class MySocialAccountAdapter(DefaultSocialAccountAdapter): def pre_social_login(self, request,

Read the original question here