I have an app working on iOS with Firebase Auth, and I am looking to get it working on Android. I am getting this error:
(NOBRIDGE) ERROR [Login] Error during Firebase auth: [Error: [auth/app-not-authorized] This app is not authorized to use Firebase Authentication. Please verify that the correct package name, SHA-1, and SHA-256 are configured in the Firebase Console. [ Invalid app info in play_integrity_token ]]
I have looked at a ton of Stack Overflow ones, like this one: This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console.
None of the solutions are working. I fear it is because rather than using the key automatically generated, I created my own which overwrote the initial key by running this command:
keytool -genkeypair -v -keystore ~/.android/debug.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias androiddebugkey -storepass android -keypass android
Is that possible? If not, what do you think the issue is? For reference, I have both SHA 1 and SHA 256 keys.
I have tried a bunch of strategies such as deleting and redoing the process laid out by Firebase docs. It continues to result in the same error.
Source: View source