Phone authentication still not working even after SafetyNet check

Viewed 80

After looking at firebase documentation for hours I figured out that the only way to avoid a reCaptcha while phone authentication is using Safety Net. But even after I read the documentation and implementated attest() method, the phone authentication doesn't work.

Code used for safety net before Phone auth in firebase

1 Answers

Firebase Auth does not require firebase App Check. Firebase App Check if for protecting the data and firebase auth if always protected by google and only the connected app can access. So you need not add Firebase App Check.Or if this is not the case, please make sure that the phoneNumber Verification is enabled first do this. then do this and pick phone number verification

finally enable it

but remember, till now firebase has not implemented anything to remove the reCaptcha

Related