title: Google Play Games for Unity logging in user returns "GetToken failed with status code: NeedPermission"
body: <p>I'm using the Google Services plugin for Unity, found here: <a href="https://github.com/playgameservices/play-games-plugin-for-unity" rel="nofollow noreferrer">https://github.com/playgameservices/play-games-plugin-for-unity</a></p>
  
  <p>I'm trying to add Google based authentication and get a server auth code.</p>
  
  <p>Initializing the plugin like so:</p>
  
  <pre><code>PlayGamesClientConfiguration playGamesConfiguration = new PlayGamesClientConfiguration.Builder()
              .RequestServerAuthCode(false)
              .AddOauthScope("profile")
              .AddOauthScope("email")
              .Build();
  PlayGamesPlatform.InitializeInstance(playGamesConfiguration);
  PlayGamesPlatform.DebugLogEnabled = Debug.isDebugBuild;
  PlayGamesPlatform.Activate();
  </code></pre>
  
  <p>And then to login the user, calling:</p>
  
  <pre><code>UnityEngine.Social.localUser.Authenticate((success, errorString) =&gt; {
  // Code here
  }
  </code></pre>
  
  <p>When I run the game, I see the "Connecting to Google Play Games" window pop up, but that should be followed by logging in the user and seeing the banner at the top of the screen.  But I get no banner.  Here are some relevant logs:</p>
  
  <pre><code>2295  2295 D GamesUnitySDK: Performing Android initialization of the GPG SDK
  2295  2295 I Unity   : Building GPG services, implicitly attempts silent auth
  2295  2694 I GamesNativeSDK: Auth operation started: SIGN IN
  2295  2694 I GamesNativeSDK: Connecting to Google Play...
  2295  2295 V GamesNativeSDK: Received Activity Resume Event.
  1441  1452 W Auth    : [GetToken] GetToken failed with status code: NeedPermission
  1383 17763 W Auth    : [GoogleAuthUtil] GoogleAuthUtil
  2295  2295 V GamesNativeSDK: Play Games callback indicates connection failure.
  2295  2694 I GamesNativeSDK: UI interaction required to connect to Google Play.
  2295  2322 I Unity   : Success: False string: Authentication failed
  </code></pre>
  
  <p>The "GetToken failed with status code: NeedPermission" line seems to be the most important.  I assume GetToken is being called by the plugin internally to satisfy my request, but I don't know what permission it needs, or if the user is supposed to provide this or if this is a developer permission in the dashboard.</p>
  
  <p>Any help would be appreciated.</p>