HackSoftware / Django-React-GoogleOauth2-Example

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

Home Page:https://django-react-google-oauth-demo-hacksoft.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error when post to http://127.0.0.1:8000/api/v1/auth/login/

DaoSYi opened this issue · comments

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'

Hello 👋

We'll be moving this repository to our Django Styleguide Example - HackSoftware/Django-Styleguide-Example#330 - so the examples are supported.

I'll update this issue when this has happened & close the comment then.