Skip to content

Strawberry Graphql Auth

Logo JWT Authentication / Authorization system for strawberry-django.

Tests Codecov Pypi contributions welcome Pypi downloads Python versions


Demo

Demo Video

About

Abstract all the basic logic of handling user accounts out of your app, so you don't need to think about it and can get you up and running faster.

No lock-in. When you are ready to implement your own code or this package is not up to your expectations , it's easy to extend or switch to your implementation.


Goals

  • Easy JWT authentication compatible with strawberry.
  • Some boiler-plate mutations like register, login etc.

Non-goals

  • Permission handling - out of scope for this project, we just provide you a user in info.context.request.

Features

  • Awesome docs!
  • Captcha validation
  • Async/Sync supported!
  • django-channels asgi support.
  • Works with default or custom user model
  • Built-in JWT authentication.
  • User registration with email verification
  • Add secondary email, with email verification too
  • Resend activation email
  • Retrieve/Update user
  • Archive user
  • Permanently delete user or make it inactive
  • Turn archived user active again on login
  • Track user status (archived, verified, secondary email)
  • Password change
  • Password reset through email
  • Revoke user tokens on account archive/delete/password change/reset
  • All mutations return success and errors
  • Default email templates (you will customize though)
  • Customizable, no lock-in
  • Passwordless registration

You can now jump to the Tutorial.