Giter VIP home page Giter VIP logo

[firebase_auth]: [firebase_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 ] about flutterfire HOT 7 OPEN

Valent1 avatar Valent1 commented on June 3, 2024
[firebase_auth]: [firebase_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 ]

from flutterfire.

Comments (7)

TarekkMA avatar TarekkMA commented on June 3, 2024

Hello @Valent1, Thank you for reporting this issue. Could you please double-check that the SHA1 key you have entered is correct? Sometimes, incorrect SHA1 keys can lead to authentication issues. For more guidance, you might find these Stack Overflow links helpful:

  1. This app is not authorized to use Firebase Authentication
  2. Flutter Firebase Play Integrity Token Invalid App Info

These articles provide step-by-step solutions to similar problems and might help you resolve the issue. If the problem persists, please provide further details so we can assist you better.

from flutterfire.

Valent1 avatar Valent1 commented on June 3, 2024

Both SHA1 and SHA256 keys are correct. I verified them.

from flutterfire.

russellwheatley avatar russellwheatley commented on June 3, 2024

@Valent1 - SHA1 & SHA256 from play console into your Firebase console? Like this: https://stackoverflow.com/a/53513327/5681607

The error is saying something is misconfigured and specifically in the play integrity token.

from flutterfire.

Valent1 avatar Valent1 commented on June 3, 2024

Yes, exactly like that. See screenshot below.
Just to be clear, I have no issue with the Android app running in PRODUCTION mode, installed from the Google Play Store.
The issue arises when I am running the app from Android Studio or VSCode, in Debug, Profile or Release mode.
Those apps are not installed from the Play Store, so I don't see how the Google Play store app signing certificate plays any role here. You shouldn't use that certificate when the app runs locally in Debug, Profile or Release mode. Am I missing something here?

Screenshot 2024-05-15 at 13 26 15

from flutterfire.

Valent1 avatar Valent1 commented on June 3, 2024

Any update on this? Any other debug steps that I should try?

from flutterfire.

Valent1 avatar Valent1 commented on June 3, 2024

Hi, even with the latest firebase_auth release, this will not work on Android emulator and on physical Android devices running in Debug, Profile or Release mode.

Do you need more information on my end? This is currently blocking my development,

from flutterfire.

Vikaskumar75 avatar Vikaskumar75 commented on June 3, 2024

Hello @Valent1,

I am currently experiencing the same issue. Although I have not yet identified the exact cause, I found that switching the emulator from Pixel 8 to Pixel 7 along with downgrading from Android 14 to Android 13, resolved the problem for me. This is just a temporary workaround, and I am still searching for the root cause and a more permanent solution.

Thanks

from flutterfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.