title: Google signIn tokenId is invalid_token
body: <p>I need to get google+ signIn tokenId.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var mGSO = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                      .requestIdToken(WEB_CLIENT_ID)//from developer console
                      .requestEmail()
                      .build()
              mGoogleApiClient = GoogleApiClient.Builder(mActivity)
                      .enableAutoManage(mActivity, this)
                      .addApi(Auth.GOOGLE_SIGN_IN_API, mGSO)
                      .build()
  
      override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
          super.onActivityResult(requestCode, resultCode, data)
          val result = Auth.GoogleSignInApi.getSignInResultFromIntent(data)
          var tokenId = result.signInAccount.idToken
      }
  </code></pre>
  
  <p>So I successfully get tokenId, but when I try to check it here (<a href="https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=" rel="nofollow noreferrer">https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=</a>) I receive message:</p>
  
  <pre><code>{
   "error": "invalid_token",
   "error_description": "Invalid Value"
  }
  </code></pre>
  
  <p>Token the same every time I try to get it!
  What is happening?
  Any idea how to fix this?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>found this issue: <a href="https://github.com/PhilipGarnero/django-rest-framework-social-oauth2/issues/61" rel="nofollow noreferrer">https://github.com/PhilipGarnero/django-rest-framework-social-oauth2/issues/61</a></p>
  
  <blockquote>
    <p>I was using the wrong google token from my sign-in on iOS. I
    originally used user.authentication.idToken which is wrong, and will
    not work.</p>
    
    <p>The correct token is user.authentication.accessToken.</p>
  </blockquote>
  
  <p>but i cant find any similar accessToken at GoogleSignInResult object....</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>i am using debug apk.
  here is my button click code:</p>
  
  <pre><code>fun onGooglePlusClicked(v: View) {
          val signInIntent = Auth.GoogleSignInApi.getSignInIntent(mGoogleApiClient)
          mActivity?.startActivityForResult(signInIntent, GOOGLE_SIGN_IN)
      }
  </code></pre>