The recently released Google Play Services 8.3 no longer requires Google Plus (and also the GET_ACCOUNTS permission) for Google Sign-In:
I can't get Google authentication with Firebase to work using the new flow though:
I based my code off of the ServerAuthCodeActivity sample in the sign-in sample project:
but when I pass the token returned by:
GoogleSignInAccount.getServerAuthCode();
into:
Firebase.authWithOAuthToken("google", token, new AuthResultHandler("google"));
I get the following Firebase error:
Invalid authentication credentials provided.
Is Firebase authentication with Google supported with the new Google Play Services without requiring Google Plus?