title: GoogleAuthUtil.getToken gives com.google.android.gms.auth.GoogleAuthException: Unknown
body: <p>My goal is getting user's basic profile information (first name, last name etc) without any server-side work. And I don't want to use a Google+ sign-in button on the UI. </p>
  
  <p>I could get user's email without any problems. So the next step is to get an access token to fetch the profile, here is my code</p>
  
  <pre><code>    String token = null;
      try {
          token = GoogleAuthUtil.getToken(getApplicationContext(), email, SCOPE);
      } catch (final UserRecoverableAuthException e) {
          startActivityForResult(e.getIntent(), REQUEST_CODE_AUTH_GOOGLE_ACCOUNT);
      } catch (IOException e) {
          Log.e(TAG, e.toString());
      } catch (GoogleAuthException e) {
          Log.e(TAG, e.toString());
      }
  </code></pre>
  
  <p>and I've defined SCOPE </p>
  
  <pre><code>private static final String SCOPE = "oauth2:https://www.googleapis.com/auth/userinfo.profile";
  </code></pre>
  
  <p>When I run my app, I got "com.google.android.gms.auth.GoogleAuthException: Unknown" exception. I've also tried other scopes like Scope.PLUS_LOGIN, Scope.PLUG_PROFILE. But all of them gave me the same exception. </p>
  
  <p>Btw, in Google API Console, I've already setup a client ID. </p>
  
  <p>I've been stuck on this for 2 days. Any help would be really appreciated. </p>