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

FR: find user by phone number #37

Closed
samtstern opened this issue Jun 7, 2017 · 6 comments
Closed

FR: find user by phone number #37

samtstern opened this issue Jun 7, 2017 · 6 comments
Assignees

Comments

@samtstern
Copy link
Contributor

With the release of phone number authentication many apps will not have email address as a unique key. It would be very useful to have a 'findUserByPhoneNumber()` call in the admin SDK to match the email one.

@bojeil-google
Copy link
Contributor

Related to this: #34

@jsayol
Copy link
Contributor

jsayol commented Jun 12, 2017

I was looking into creating a PR for this but it seems like the getAccountInfo endpoint of the auth API doesn't yet allow to search users by phoneNumber, only email and localId.

Feel free to comment here if/when that's added and I'll push the PR :)

P.S.: the documentation for the REST API should probably include the available request properties, in the same way the old documentation did.

@bojeil-google
Copy link
Contributor

Thank you for your help but I plan to implement this when the Auth backend supports it. It is not yet implemented. It is also part of a bigger change which features new API.

@sprmn
Copy link
Contributor

sprmn commented Jun 27, 2017

Related to this issue and #34, it would also be useful if we could change a phone number via tha admin sdk. I guess this will also be part of the new API you were referring to? Is there anything we can do to help?

@bojeil-google
Copy link
Contributor

Hang tight, it's all coming soon.

@hiranya911
Copy link
Contributor

This was released today: https://firebase.google.com/support/release-notes/admin/node#5.1.0

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

No branches or pull requests

6 participants