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
- TODO
- test cases
- CI&coverage intergration
any PR&issues are welcome!!