👮‍♂️A Pythonic way for authenticate GraphQL request👮‍♂️
Branch: master
Clone or download
devArtoria Merge pull request #6 from aspgems/master
Fixes bug setting expiration period for token.
Latest commit 27897a6 Nov 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Hotfix Sep 18, 2018
.gitignore UPDATE: separte token kind Aug 7, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Oct 24, 2018
LICENSE Initial commit Apr 19, 2018
README.md Update README.md Sep 25, 2018


Flask-GraphQL-Auth PyPI version Documentation Status

What is Flask-GraphQL-Auth?

Flask-GraphQL-Auth is JWT decorator for flask-graphql inspired from Flask-JWT-Extended. all you have to do to protect your mutation and query with JWT is to create unions with AuthInfoField and decorate resolvers with decorators in Flask-GraphQL-Auth


  • Basic validation of JWT
  • Mutation protectors
  • Query protectors
  • Get JWT data from context stack
  • Insert user claim


pip install Flask-GraphQL-Auth


View the documentation online

We are finding contributors!

  • TODO
    • test cases
    • CI&coverage intergration

any PR&issues are welcome!!