Closed beren5000 closed 4 years ago
No exception message suppliedRequest Method: | GET -- | -- http://127.0.0.1:8000/accounts/google/login/callback/?state=6VKuyqVV5ulQousa&code=4%2F0Adeu5BUHoVDzqrKs2kHBiuzSbhZwqdd6ok1dVMNqY5oguAm1p5s4T039NseBLMtAcEglTQ&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 4.2.2 AssertionError /home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/allauth/socialaccount/helpers.py, line 191, in complete_social_login allauth.socialaccount.providers.oauth2.views.view /home/muddledluck/Desktop/new_studiofy/env/bin/python3 3.10.12 ['/home/muddledluck/Desktop/new_studiofy', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf', '/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/odf'] Wed, 06 Sep 2023 07:08:28 +0000
/home/muddledluck/Desktop/new_studiofy/env/lib/python3.10/site-packages/allauth/socialaccount/helpers.py
, line 191, in complete_social_loginassert not sociallogin.is_existing
greetings i had configured django allauth using, i had django tenant working in my project and everything was fine, i logged with my social accounts (facebook, google and twitter), and everything where smooth. but now i decided that django tenant wasnt the solution that i needed, i rearrange my project and delete everything that was related to django tenant, recreate the database and reconfigure my social accounts, but when i try to login i keep getting this error
AssertionError at /es/accounts/google/login/callback/ No exception message supplied
with this trace:
i have not change nothing with my allauth configuration, everything is vanilla and was working in the same way as before, but i don't know what really happen
i found a similar issue in here:
1304
but im not using a custom signup and as i see, the user is created, the email and the social account for that user too, everything is fine, even if i try to login after the error appear, everything looks fine, the login is completed and i can use the site normally
those are my project settings related to allauth