gardenbuilder-app / gardenbuilder-backend-python

Django-based REST API
6 stars 11 forks source link

Add login routine to CreateUser mutation in users/schema.py #22

Closed capndave closed 3 years ago

capndave commented 3 years ago

Update the CreateUser mutation so that a newly-created user is also authenticated, and a JWT (JSON web token) is returned to the client with the graphql response, much like occurs with the tokenAuth mutation.

AyonPal commented 3 years ago

I'd like to work on that issue

AyonPal commented 3 years ago

@capndave , i made a pr that fix this issue. Don't think any testcase needed. Can you please review?