-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending mongoengine User model for SOCIAL_AUTH_USER_MODEL #70
Comments
I wasn't able to reproduce your error so far. Why are you defining |
It looked it was a migration problem. The database was complaining to the new structure of the I commented out the |
Looks like a mongoengine issue to me than PSA. Reopen if needed. |
Ok I found the problem. Just for the records, it was a MongoDB user authentication/privileges level. |
I need some help creating a custom User model, in order to extend it.
My models.py is :
So I have updated the settings.py with:
However on login I get:
I checked I saw that the
526fab8ac36b440b4a8f080b
id is the user id inuser_social_auth
collection.The text was updated successfully, but these errors were encountered: