loading...

re: OAuth 2.0 with Google API in Node.js VIEW POST

TOP OF THREAD FULL DISCUSSION
re: what is this code you use in getUserDetails
 

So basically, what it does is,

  1. it takes out the 'token' from the code received
  2. adds the token to the Oauth2Client credentials (which is used to fetch the user data)
  3. Fetches the user's data from Google.
code of conduct - report abuse