title: Status code 12501 authenticating with google sign-in
body: <p>I am using these below lines of code for G+ sign-in android integration.</p>
  
  <p>In app build.gradle :</p>
  
  <p><code>compile 'com.google.android.gms:play-services-auth:8.4.0'
   compile 'com.google.android.gms:play-services-plus:8.4.0'</code></p>
  
  <p>In MainActivity :</p>
  
  <pre><code> GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                      .requestEmail()
                      .requestIdToken("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.com")
                      .requestProfile()
                      .build();
  
              AppCompatActivity appCompatActivity = (AppCompatActivity) context;
  
              googleApiClient = new GoogleApiClient.Builder(context)
                      .enableAutoManage(appCompatActivity, this)
                      .addConnectionCallbacks(this)
                      .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
                      .addApi(Plus.API)
                      .build();
  </code></pre>
  
  <p>I have also added "google-services.gson" file at app level.
  I have also made web-application and use client-id for requestIdToken() parameter.</p>
  
  <p>requestIdToken(client-id of webapp). </p>
  
  <p>After writing this code, Still I am getting status code = 12501 in response and tokenId = null.</p>
  
  <p>I have also read <a href="https://stackoverflow.com/questions/33846801/error-12501-authenticating-with-google-sign-in">this link</a>. But Can not find any solution. </p>