firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

MFA with multiple tenants support

Open john-hutchinson opened this issue 1 year ago • 1 comments

MFA with multiple tenants support

iOS Is not supported according to this documentation: https://firebase.google.com/docs/auth/ios/multi-factor But registering a user on multi tenant, adding the phone 2FA, and logging in with the 2FA challenge fully works.

Android Is not supported according to this documentation: https://firebase.google.com/docs/auth/android/multi-factor But registering a user on multi tenant, adding the phone 2FA fully works.

Only logging in and doing the 2FA challenge fails with error:

[SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17499 INVALID_PROJECT_ID:Project ID does not match MFA pending credential

The strange thing is that on Android, adding the 2FA works (the SMS with the verification code is sent, and verified correctly). but doing the login with 2FA challenge does not (which is essentially receiving a verification SMS again and verifying the code). Essentially no new functionality is used in login versus registration so it should be easy to fix and fully support.

Question: When can we expect official support of multi-tenancy 2FA on Android and iOS And when can we expect (unofficial) support of multi-tenancy 2FA on Android (since unoficially it already works on iOS).

john-hutchinson avatar Oct 10 '24 14:10 john-hutchinson

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Oct 10 '24 14:10 google-oss-bot

Hi @john-hutchinson, thank you for reaching out. I don’t have visibility on the roadmap or timeline when this will be supported. I know this might be disappointing, but I'll rather let you know where we're at right now.

However, I have raised this to our engineers. I'll go ahead and mark this as a feature request. While we are unable to promise any timeline for this, we'll definitely keep this under our radar.

P.S. For folks who find this useful, adding an emoji thumbs up on the original post can help us prioritize adding this to the roadmap.

lehcar09 avatar Nov 11 '24 12:11 lehcar09