0

I am making a app that requires firebase authentication and i am receiving a error.

"This app is not authorized to use Firebase Authentication.

  • sha-1 is correct

  • Project package is correct

  • Project is connected to firebase

  • dependencies are setup properly

  • Phone auth is enabled

One thing more i only receive this error when i download the app from playstore else when i install it from android studio the app works fine..

Mohit Gupta
  • 41
  • 1
  • 7
  • 1
    I guess your problem is that you have to add 3 sha1 keys in order to work. I had a similar problem, checkout me post https://stackoverflow.com/questions/51360250/firebase-ui-authentication-with-google-fails-with-message-code10-message10 – Kwnstantinos Nikoloutsos Jul 21 '18 at 08:59
  • I have got a very simple trick to resolve it, Check my answer [Here](https://stackoverflow.com/a/63497472/5639557) – Kaushal Kishor Aug 20 '20 at 02:41

1 Answers1

3

After releasing the app, the play console generate new certificate which is called "App signing certificate". It contains the SHA1 certificate that you require. It can be found at:

Released Management->App Sigining on your play console. Copy it and paste it in your firebase app -> project settings -> add sha1 fingerprint.

  • Can u explain in more details about this. I am not able to understand Released Management->App. Where can I find this option – Sujay U N Dec 15 '18 at 18:23