-
Notifications
You must be signed in to change notification settings - Fork 228
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
Create fails on non standard user model #106
Comments
Duplicate, closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a user model with some added properties that are required. When i do FB auth for example, everything goes as planned up to the point where the new user needs to be created. Validation fails of course since my fields are missing. How can i setup what happens after the FB login is completed?
In passport you do something like new FacebookStrategy(strategy, loginFacebook) where the 2nd parameter is your callback where you check if the user exists and add your custom logic.
How can i set my custom fields with default values before the create is fired?
The text was updated successfully, but these errors were encountered: