question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Multi-Factor Auth?

See original GitHub issue

Hello,

I just wired up Multi-Factor authentication for my password auth, and it works great. But when I try to log in via Google Auth through FirebaseUI, I get the following popup message:

Screen Shot 2020-11-15 at 3 23 47 PM

says “Proof of ownership of a second factor is required to complete sign-in.”

The callbacks signInFailure and signInSuccessWithAuthResult are not called, so I can’t handle this error and redirect to my confirmation code form.

Also, I can’t find any examples online on how to use MFA with FirebaseUI. I checked this:

https://cloud.google.com/identity-platform/docs/web/mfa

but it doesn’t mention FirebaseUI specifically. It does discuss using Google auth as a first factor, but without the FirebaseUI callbacks being called, I can’t handle the second factor verification.

Question 1: Does Firebase UI support MFA? Question 2: If so, is there a canonical example on how to make it work? Question 3: If Question #1 is a no, will it be or can it please be supported?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
rowbot-weisguycommented, Nov 19, 2021

I ended up having to re-implement a basic UI which I’m sure is less battle-tested and more bug-prone than this project, all in order to enable MFA for our customers.

It appears the Firebase team is struggling to get / manage resources and treats their UI as second-rate to the API. Perhaps because they don’t charge for use of the UI itself. That said, I don’t know if it’s wise to start a community project tightly coupled to Firebase auth. If their team can’t effectively support their own product, should the community start doing free work for them? I appreciate the spirit of open source, but this smells different. I wish Firebase would treat their UI as part of the product that people pay for.

3reactions
munderwoodscommented, Jan 21, 2021

I am also blocked by this. Any ETA for this? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is: Multifactor Authentication - Microsoft Support
When you sign into your online accounts - a process we call "authentication" - you're proving to the service that you are who...
Read more >
Multi-Factor Authentication (MFA) - Auth0
Multi-factor authentication (MFA) is a user verification method that requires more than one type of user validation. It prevents bad actors from accessing...
Read more >
Two-factor authentication for Apple ID
Two-factor authentication is designed to make sure that you're the only person who can access your account. Learn how it works and how...
Read more >
How do I manage my Multifactor Options in Account Settings?
Enabling a multifactor authentication option to access LastPass · Select Account Settings in the left navigation. · Select the Multifactor Options tab. ·...
Read more >
Multi-Factor Authentication (MFA) - Duo Security
Multi-factor authentication (MFA) protects access to your applications by using multiple sources of validation to verify user identity.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found