Q:

How to revoke token provided by OAuth from google? NodeJS

I have connected to google plus from my NodeJS application by using oauth2, but how to revoke token/disconnect? I cant find anything in docs for NodeJS.

A:

You can revoke a token with revokeToken function from google.auth.OAuth2 object : 
oauth2Client.revokeToken(token, function(err, body) {

});

You also have revokeCredentials function which clear the credential object and revoke the access token inside it : 
oauth2Client.revokeCredentials(function(err, body) {

});

