Skip to content
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

ThirdPartyEmailPassword updateEmailOrPassword function change to throw error if userId is of thirdparty #244

Closed
3 tasks done
rishabhpoddar opened this issue Jan 15, 2022 · 0 comments
Assignees

Comments

@rishabhpoddar
Copy link
Contributor

rishabhpoddar commented Jan 15, 2022

Right now, if we supply a third party user Id to that function, it will return an UNKNOWN_USER_ID status. That is confusing to the user as technically, that user does exist.

We should check in that function if the user exists in third party, and if it does, we should throw an error saying that you cannot update the email of a social login user.

  • nodejs
  • golang
  • python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants