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

Handle missing keys in Google SSO integration #1954

Closed
cal-itp-sentry bot opened this issue Mar 14, 2024 · 1 comment · Fixed by #1956
Closed

Handle missing keys in Google SSO integration #1954

cal-itp-sentry bot opened this issue Mar 14, 2024 · 1 comment · Fixed by #1956
Assignees
Labels
bug Something isn't working

Comments

@cal-itp-sentry
Copy link

Sentry Issue: BENEFITS-5P

KeyError: 'locale'
  File "django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/http.py", line 64, in inner
    return func(request, *args, **kwargs)
  File "django_google_sso/views.py", line 98, in callback
    user = user_helper.get_or_create_user()
  File "django_google_sso/main.py", line 117, in get_or_create_user
    "locale": self.user_info["locale"],
@thekaveman thekaveman added the bug Something isn't working label Mar 14, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Digital Services Mar 15, 2024
@thekaveman
Copy link
Member

thekaveman commented Mar 15, 2024

Fixed with the latest version of django-google-sso, see #1956

@thekaveman thekaveman self-assigned this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant