有没有可能在不使用firebase身份验证API "email/password method“登录的情况下获得用户id?假设一个函数以电子邮件为参数并返回firebase userId //this is an example
return this.firebase.auth.getId(email); // this method is not firebase method i wrote just fo
我在我的用户中搜索有帐户的电子邮件地址,但我还希望获得与该帐户关联的用户的uid。下面是我用来查看用户是否有帐户的代码。我如何才能获得该用户的uid?firebase.auth().fetchSignInMethodsForEmail('someemail@email.com') if (providers.length
使用用户的电子邮件,我想在用户没有登录的情况下从firebase.auth()获取用户的id。我的代码使用了VueJS。有没有办法做到这一点?我在Node.JS中搜索并找到了这个,但不确定在VueJS中这样做是否也是正确的。admin.getUserByEmail(email) // See the UserRecord reference doc for`