-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Reset password for a user that sign via Facebook #3357
Comments
My first crack at this was checking for the existence of data in authData to indicate whether the user signed up via another application. However, I would imagine when linking to an existing user through Facebook or Twitter for example, that field gets populated and wouldn't necessarily indicate whether that user signed up through Facebook/Twitter vs organically through Parse Server. Is that thinking sound ? |
I am looking an answer for this one too - is it ever possible to setup a password for user signed up with an oAuth? |
@ciekawy You could add email / password Auth to an account that initially signed up with Facebook. |
Parse generates a random username for users that signed up with Facebook. If your app allows to define a custom username after the Facebook signup, this user will still have no password so will not be able to log in via username/password, but only via Facebook. By allowing to reset the password on this user, he will be able to set a password for its account and so log in with username/password. |
I'm closing this as there are ways to allow a user to log in with email / password if they signed up with 3rd party auth:
|
I am using Parse Server 2.2.25, and it seems that if a user on the client sign up with Facebook. And later he go to any client app and ask for password reset, then Parse server send him a reset password link which is meaningless because his password is kept in Facebook. I would expect that he will get some error message saying that he can not reset his password because his account is own by Facebook.
When the user open the link instead of his email address he get the username which is the Facebook id which look to him like a garbage.
Is there any way to intercept (via cloud code) the reset request and send him an error page saying that he can not reset to the password? I will think that this should be part of the basic Parse server reset password flow.
The text was updated successfully, but these errors were encountered: