I have a custom user model that is based on AbstractBaseUser, PermissionsMixin
and I would love to use a package such as django-allauth and/or social-auth-app-django. I have done some research but did not find any tutorials or examples. Can somebody recommend anything?
Asked
Active
Viewed 283 times
0

manfredobelugo
- 55
- 7
1 Answers
1
You need to set the User model for the social auth package in your settings.py. For example:
SOCIAL_AUTH_USER_MODEL = 'app.YourCustomUser'
Read more about it here: https://python-social-auth.readthedocs.io/en/latest/configuration/settings.html#user-model

Vincent
- 1,494
- 12
- 26