Skip to content

Commit

Permalink
docs: added warning in the example code refresh token (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascdsilva authored and JustinBeckwith committed Mar 6, 2018
1 parent 53149a1 commit 0f4d4e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -256,6 +256,8 @@ The following sample retrieves Google+ profile of the authenticated user.
var {google} = require('googleapis');
var plus = google.plus('v1');
var OAuth2 = google.auth.OAuth2;

// WARNING: Make sure your CLIENT_SECRET is stored in a safe place.
var oauth2Client = new OAuth2(
YOUR_CLIENT_ID,
YOUR_CLIENT_SECRET,
Expand Down

0 comments on commit 0f4d4e4

Please sign in to comment.