英文:
Passwordless authentication in Flutter with Firebase
问题
I've been looking into passwordless authentication methods for my app for the simplest signup experience possible and I'm a little confused. Ideally, I want something that works on both android and iOS (macOS would be appreciated), but I can always use a platform-specific method.
I stumbled across this article https://developers.google.com/identity/passkeys, but I am a little skeptical. In the example app they show, passkeys seem to be used as an alternative sign-in method, with normal email + password still being an option.
So my questions are as follows: Is this stable enough to be used as your primary authentication method, and is this safe to use in production yet?
...should I just go with simple email link verification instead?
英文:
I've been looking in to passwordless authentication methods for my app for the simplest singup experience possible and I'm a little confused.
Ideally I want something that works on both android and iOS (masOS would be appreciated), but I can always use a platform specific method
I stumbled across this article https://developers.google.com/identity/passkeys but I am a little skeptical.
In the example app they show, passkeys seem to be used as an alternative sign in method, with normal email + password still being an option
So my questions are as follows: Is this stable enough to be used as your primary authentication method and is this safe to use in production yet?
...should I just go with simple email link verification instead?
答案1
得分: 0
已经确定使用电子邮件链接进行身份验证\
"Passkeys" 看起来有点太尖端,至少目前来看。
英文:
Settled on email link auth
Passkeys seems a little too bleeding-edge, at least right now
答案2
得分: 0
为了您的移动应用认证流程,可以实现如下方式的通行证:
1- 自动登录;即,加载应用将触发生物识别认证模态,用户将使用其通行证登录。
2- 单因素,用户可以通过单一操作,例如无密码的登录按钮。
3- 第二因素认证,您可以将基于密码/OTP的登录流程与通行证认证相叠加。
为解决这个问题,我们开发了一个名为justpass.me的Firebase通行证扩展。这是一种非常简单而强大的方法,可以将无密码的生物识别认证引入您的Firebase Web和移动应用中。
请查看这个扩展,您可以在几个简单的步骤中将通行证集成到Firebase和Flutter中。
英文:
For your mobile app authentication flow, can implement passkeys as
1- an auto-sign in; i.e. loading the app would trigger the biometric authentication modal where user would use their passkey to log in.
2- Single factor, where user action such as a sign-in button that could be passwordless
3- 2nd factor authentication, where you could layer a password/OTP based login flow with a passkey authentication.
To address this issue, we have developed a firebase extension for passkeys called justpass.me. It is a very simple and powerful way to enable passwordless biometric authentication into your Firebase web and mobile apps.
please take a look at this extension where you can integrate passkeys into Firebase and flutter in few easy steps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论