djangoflow / django-df-auth

Opinionated Django REST auth endpoints for JWT authentication and social accounts
MIT License
10 stars 19 forks source link

Refactor "SIGNIN_AUTOCREATE_ACCOUNT" #20

Closed ayushin closed 11 months ago

ayushin commented 1 year ago

SIGNIN_AUTOCREATE_ACCOUNT should be project specific and it there can be many different edge cases in the decision tree.

Option 1: create a pipeline similar to social auth

Option 2: move use auto-creation into custom BaseOTPBackend - autocreate mixin with exiting backends