Skip to content

Commit

Permalink
chore: use v3 userinfo API
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Dec 21, 2018
1 parent dcb630e commit bf7b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ new GoogleStrategy({
clientSecret: GOOGLE_CLIENT_SECRET,
callbackURL: "http://www.example.com/auth/google/callback",
// This option tells the strategy to use the userinfo endpoint instead
userProfileURL: "https://www.googleapis.com/oauth2/v2/userinfo",
userProfileURL: "https://www.googleapis.com/oauth2/v3/userinfo",
}
```
Expand Down

0 comments on commit bf7b576

Please sign in to comment.