2👍
You can just create a custom user model by extending the AbstractBaseUser
class. There is a nice example in the documentation. As it is mentioned there, you just need to have some sort of unique identifier for the user that will be used for authentication. I hope that helps.
Source:stackexchange.com