diff --git a/passbook/api/v1/openid.py b/passbook/api/v1/openid.py index a2aa8c2cd..2d395fb62 100644 --- a/passbook/api/v1/openid.py +++ b/passbook/api/v1/openid.py @@ -16,7 +16,7 @@ class OpenIDUserInfoView(ScopedResourceMixin, View): 'name': request.user.get_full_name(), 'given_name': request.user.first_name, 'family_name': request.user.last_name, - 'preferred_username': request.user.username + 'preferred_username': request.user.username, + 'email': request.user.email, } - return JsonResponse(payload)