firebase - Angularfire - Get email by uid? #askfirebase -


i have ionic application using firebase opted use angularfire. running angularfire4. in application store uid , want email related uid. use email/password login provided firebase. how can translate uid email?

the method found when using nodejs.

the data exposed in client-side authentication sdks profile of authenticated user.

there no way user data uid firebase authentication client-side sdks. while admittedly convenient, make leaking user-data way easy.

the way look user data uid using admin sdk found. idea run in trusted environment (e.g. server control, or cloud functions) , selectively expose user data app needs.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -