Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] User not registered in the system trying to login via google results in a 500 #102

Open
sentry-io bot opened this issue Sep 2, 2022 · 0 comments
Labels
bug Something isn't working cybersecurity Issue relating to security of application minor Minor Impact Issues. Usually a nice to have, but not essential

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 2, 2022

This could be a feature not a bug. (this bug prevents user that is not appointed as a coordinator or a reviewer in being able to access the system)

Sentry Issue: INDEAA-BACKEND-4

EmailAddress.DoesNotExist: EmailAddress matching query does not exist.
  File "authentication/utils.py", line 39, in pre_social_login
    email_address = EmailAddress.objects.get(email__iexact=email)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(

BdbQuit: 
(5 additional frame(s) were not displayed)
...
  File "allauth/socialaccount/helpers.py", line 146, in complete_social_login
    get_adapter(request).pre_social_login(request, sociallogin)
  File "authentication/utils.py", line 55, in pre_social_login
    logger.info("No email address found for social login %s", sociallogin)
  File "authentication/utils.py", line 55, in pre_social_login
    logger.info("No email address found for social login %s", sociallogin)
  File "bdb.py", line 88, in trace_dispatch
    return self.dispatch_line(frame)
  File "bdb.py", line 113, in dispatch_line
    if self.quitting: raise BdbQuit

[IndEAA_0.0.0] Anonymous User: Unknown Error Occurred:  
@frinzekt frinzekt added minor Minor Impact Issues. Usually a nice to have, but not essential cybersecurity Issue relating to security of application bug Something isn't working labels Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cybersecurity Issue relating to security of application minor Minor Impact Issues. Usually a nice to have, but not essential
Projects
None yet
Development

No branches or pull requests

1 participant