We\'re under Android (Jellybean and higher), and we\'ve got an app which need to use OAuth2 with Google for authentication.
I simplified the login activity, but it\'
For anyone still struggling with this, here's what worked for me:
If you enroll your app into the Google Play App Signing program, then your KeyStore is not used de facto to sign the application once it reaches the play store - that's why the fingerprints don't match.
Google removes your certificate and creates a new signing certificate that is used to sign your APK.
In the Play Console go to Release Management -> App signing
If you opted in to Google Play App Signing, you'll see 2 certificates there along with all of their fingerprints. Use the App Signing Certificate fingerprint instead of the Upload Certificate which is your KeyStore.