简体   繁体   English

通过Firebase进行电话身份验证后设置密码

[英]Setting password after phone authentication via Firebase

我需要有关使用Firebase进行电话号码身份验证后设置密码的代码的帮助,以便在首次验证电话号码后,用户可以直接使用电话号码和密码登录

You can set a password after phone authentication but phone+password authentication is not supported with Firebase Auth. 您可以在电话认证后设置密码,但是Firebase Auth不支持电话+密码认证。 You can link an email/password provider to the account but the user would be able to sign in with phone OR email+password and not phone+password. 您可以将电子邮件/密码提供者链接到该帐户,但用户将能够使用电话或电子邮件+密码而不是电话+密码登录。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM