简体   繁体   English

如何在Firebase中设置电子邮件注册(无密码)和显示名称?

[英]How to set up registration with email (no password) and display name in firebase?

I want to set up authentication with email (used to receive a link) and display name only, without password. 我想使用电子邮件(用于接收链接)设置身份验证,并且仅显示名称,而不输入密码。 However, from the documentation I only found createUserWithEmailAndPassword. 但是,从文档中,我仅找到createUserWithEmailAndPassword。 I tried auth().sendSignInLinkToEmail , which enables me to sign in, but it can't create new user in the database. 我尝试使用auth().sendSignInLinkToEmail ,这使我可以登录,但无法在数据库中创建新用户。

You're looking for email link authentication. 您正在寻找电子邮件链接身份验证。 See the Firebase documentation for email link authentication for full details. 有关完整详细信息,请参阅Firebase文档中的电子邮件链接身份验证

There won't automatically be a display name with this form of authentication, but you can set the display name of your choice in the user profile. 不会使用这种身份验证形式自动显示名称,但是您可以在用户个人资料中设置您选择的显示名称。 See the Firebase documentation on updating a user profile for details on that. 有关详细信息,请参阅有关更新用户配置文件Firebase文档

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Firebase通过电子邮件和密码注册的用户? - Registration user using firebase throug email and password? Firebase 使用电子邮件、密码、显示名称和照片网址创建用户 - Firebase create user with email, password, display name and photo url 如何设置Firebase iOS身份验证电子邮件 - How to set up Firebase iOS authentication email 如果电子邮件和密码在 Firebase Flutter 中无效,如何显示错误消息? - how to display an error message if email and password is not valid in firebase flutter? 如何使用 Firebase signInWithCredentials() 设置用户的显示名称和电子邮件 - How can I set a user's display name and email with Firebase signInWithCredentials() 创建新的Firebase电子邮件密码用户帐户后,Firebase用户的显示名称不会在活动中显示吗? - Firebase user display name won't show on activity after creating new Firebase email password user account? 如何将名称以及电子邮件和密码添加到Firebase数据库Android - How to add Name along with email and password to firebase database android 我在带有Firebase的Android Studio中使用电子邮件和密码但使用全名创建注册 - Im Creating Registration with email and Password but with Fullname in Android Studio with Firebase Firebase Email 和 Flutter 上的密码注册 - 无法解析主机 - Firebase Email and Password Registration on Flutter - Unable to resolve host Firebase 电子邮件/密码注册无效 - Firebase Email/Password sign up not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM