🚨Deprecated! Check out the excellent django-graphql-jwt.
In this repo, I'm trying to figure out how to do authentication and authorization with graphql and graphene-django.
When I started, I was especially interested in mutation examples for user registration, account activation, login etc.
Coming from REST land, I heavily inherited from drf-jwt and djoser.
Should anyone stumble upon this, I'd be very happy to receive some feedback.
I recently update this repo to work with graphene>=2
(and without relay). The old graphene<2
+ relay version is in this branch
- python3
- Django 1.11
- graphene
- docker-compose
- py.test
- register
- activate account
- login
- reauthenticate
- password reset
- password reset confirm
- profile update
- delete account
docker-compose build
docker-compose run django python ./src/manage.py migrate
docker-compose run -p 8000:8000 django python ./src/manage.py runserver 0.0.0.0:8000
docker-compose run django py.test -s ./src