title: google-endpoints cross client authentication
body: <p>I'm trying to use cross client authentication with google-endpoins. In my android client I'm successfully getting the authorization token for my server using:</p>
  
  <pre><code>String plusLogin = Scopes.PLUS_LOGIN;
  String mScopes = "oauth2:" + plusLogin;
  
  String token = GoogleAuthUtil.getToken(context, Constants.accountName, mScopes);
  </code></pre>
  
  <p>then i'm accessing the desired endpoint in an AsyncTask task and passing this token to the server. Now... i have this token on the server side but I do not know what i have to do to decode the user information from int. Basically i'm interested to get the user id and the user email on the server side. </p>
  
  <p>It is true that i'm new to this but I'm struggling for more then 2 weeks.
  The Google documentation on this it is only pointing in the direction that you have to follow but with no working examples that you can use as a model to start from. 
  <a href="https://developers.google.com/+/web/signin/server-side-flow" rel="nofollow">https://developers.google.com/+/web/signin/server-side-flow</a></p>