[英]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.