Hi,
I've implemented firebase 2FA which has been working great. When I registered a user with a different domain, authentication flow works fine and the user even gets an OTP. However, the 2FA flow resets and asks for user phone number everytime. Checking in firebase console shows that the phone number isn't saved. I confirmed also that the domain was included in the 'Authorized Domains' list.
Additionally, this behavior causes the token to be invalidated in a few seconds. When I save the phone number in firebase console manually, everything works as expected.
I'd be grateful if anyone can point me in the right direction. Thanks in advance.