4

When I try to sign-in using G+ on an android app for an new user who is not been signed in on device google account, I get an INTERNAL_ERROR with status 8 and mask stays for ever until user taps on masks. When we retry again for the same user i am getting the successful sign-in response.

Google sign-in options code :

    GoogleSignInOptions.Builder gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
            gso.requestEmail().requestProfile();
            String webClientId = clientOptions.optString(ARGUMENT_WEB_CLIENT_ID, null);
    gso.requestIdToken(webClientId);
    gso.requestServerAuthCode(webClientId, false);

GoogleApiClient.Builder builder = new GoogleApiClient.Builder(webView.getContext())
            .addOnConnectionFailedListener(this)
            .addApi(Auth.GOOGLE_SIGN_IN_API, gso.build());

        this.mGoogleApiClient = builder.build();

Note: it works for user who have already signed into the device google account.

Ajay
  • 71
  • 5
  • Hello.. thanks for reply.. i am not expecting any debugging help. I need to know if google supports new user sign-in for the applications using Google sigin-in. As i mentioned in my question posted above, i face this issue only when the user has not signed into device google account and tries to login to the app using google sign-in client library. – Ajay Mar 29 '18 at 12:21
  • I suggest you add "I need to know..." part to the question. Telling us what kind of answer you're looking for is a big part of asking a good question. – beaker Mar 29 '18 at 21:43
  • Possible duplicate of [Android Google Sign In fails with error code 8 (no message)](https://stackoverflow.com/questions/35229264/android-google-sign-in-fails-with-error-code-8-no-message) – Nerdy Bunz Mar 30 '18 at 01:54
  • I am encountering the same problem, its happening when a new email is added from the select email popup – Debu Apr 10 '18 at 11:25
  • This question is not a duplicate! I am facing same issue, problem is when on Select email dialog user taps on "Add new" option. I have no solution, it look's like google API bug. – Gordon Freeman Apr 20 '18 at 12:24
  • 1
    Yes, this happens consistently for us @GordonFreeman … it's a known issue: https://github.com/googlesamples/google-services/issues/358 – Eric O'Connell May 14 '18 at 22:15

0 Answers0