Django-React-GoogleOauth2-Example icon indicating copy to clipboard operation
Django-React-GoogleOauth2-Example copied to clipboard

Google OAuth2 sign-in flow using Django (+ REST Framework) and React.

Results 2 Django-React-GoogleOauth2-Example issues
Sort by recently updated
recently updated
newest added

Django-React-GoogleOauth2-Example/server/auth/apis.py", line 26, in post user = serializer.object.get('user') or request.user AttributeError: 'JSONWebTokenSerializer' object has no attribute 'object'

- Renamed `givenName` and `familyName` variables to `given_name` and `family_name` to ensure `profile_data` is properly obtained from `user_data` as the user info endpoint (https://www.googleapis.com/oauth2/v3/userinfo)returns `given_name` and `family_name` instead of the...