Does the firebase user uid change if the user is signed out of the app when using email authentication?

跟風遠走 提交于 2021-01-07 07:01:48

问题


I have to implement firebase email authentication and want to store data with a field of firebaseUser.uid in that. I want to know if there is any case when the user's uid will be changed so that I don't mess up with the user data as I will be referring it based on the user's uid. So if any user signs up using an email id, it's uid should never change unless he logs in again with a different email.


回答1:


The UID for a user is assigned randomly and never changes within that project.



来源:https://stackoverflow.com/questions/61761846/does-the-firebase-user-uid-change-if-the-user-is-signed-out-of-the-app-when-usin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!