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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -