Firebase Auth | The Debug vs Release Signature Problem
tl;dr 1. Update Firebase console with SHA1 of your release keystore. 2. Re-download google-config.json file. 3. Place your release keystore in the same folder as your gradle file and update gradle with the code below. 4. Tadaa! Authenticating a user can be frustratingly tricky at times. I use Firebase all the time to do all server related tasks - I used to create my own Python Flask server prior to this. You literally have to write no server side code, and it's all for free. All steps at the Firebase Auth documentation are straightforward, except for the part that requires you to add the google-config.json with correctly configured SHA1 key. I got stuck at this one point, and I'm certain most developers will at the same place. It took me hours to do this the right way. Here's what you do : Firebase Auth requires SHA1 fingerprint of your release keystore. Run the keytool command given in the docs. keytool -exportcert -list -v -alias alias_name -keystore path