diff --git a/backend/accounts/oauth2_validator.py b/backend/accounts/oauth2_validator.py index 6e12585..8d8f7fe 100644 --- a/backend/accounts/oauth2_validator.py +++ b/backend/accounts/oauth2_validator.py @@ -16,7 +16,7 @@ class LabsOAuth2Validator(OAuth2Validator): def get_additional_claims(self, request): return { "name": request.user.preferred_name or request.user.get_full_name(), - "email": request.user.email, + "email": request.user.get_email(), "pennid": request.user.pennid, "is_staff": request.user.is_staff, "is_active": request.user.is_active,