title: How can I decode a google OAuth 2.0 JWT / credential token?
body: <p>I'm building a browser app that requires to authenticate with Google using the OAuth 2.0 / JWT workflow outlined in the <a href="https://cloud.google.com/iot/docs/how-tos/credentials/jwts" rel="nofollow noreferrer">link</a>.</p>
  <p>In the scenario of success user authentication with Google OAuth 2.0, Google API sends to an app OAuth the response like this:</p>
  <pre><code>{
    &quot;clientId&quot;: &quot;xxx...apps.googleusercontent.com&quot;,
    &quot;credential&quot;: &quot;yyy...123...zzz&quot;,
    &quot;select_by&quot;: &quot;user&quot;
  }
  </code></pre>
  <p>I have a client_id and using the NodeJS + JS.</p>
  <p>How can I provide the app with the real user data once the user is authenticated?</p>