Debugging "This app is not authorized to use Firebase Authentication" Error
Firebase Authentication initially functioned properly, but abruptly failed during debug build without any code modifications. The console reported the following error:
D/PhoneAuthActivity( 7392): signInWithCredential:failure:com.google.firebase.auth.FirebaseAuthException: This app is not authorized to use Firebase Authentication. Please verifythat the correct package name and SHA-1 are configured in the Firebase Console. [ App validation failed ].
The only significant change between successful and failing login attempts was an Android Studio upgrade.
Solution
To resolve this issue, it is crucial to verify the following:
Google Play Console Fingerprint:
Firebase Console Fingerprint:
Local SHA-1 and SHA-256:
Emulator Limitations:
Android Device Verification:
google-services.json Update:
The above is the detailed content of Why is My Firebase Authentication Suddenly Throwing \'This app is not authorized to use Firebase Authentication\' Error?. For more information, please follow other related articles on the PHP Chinese website!