In my case sign-in worked only when I run the app on my phone by Android Studio, but if I downloaded the app from Google Play - I got that error. To solve it you need to create one more Android OAuth-client on Google Cloud Console with SHA-1 from Play Console (not from gradle signingReport).