Skip to content

Commit 62c7d90

Browse files
committed
log callback
1 parent 6c40a35 commit 62c7d90

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

server/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ passport.use(
1212
clientSecret: keys.googleClientSecret,
1313
callbackURL: '/auth/google/callback'
1414
},
15-
accessToken => {
16-
console.log(accessToken);
15+
(accessToken, refreshToken, profile, done) => {
16+
console.log('access token', accessToken);
17+
console.log('refresh token', refreshToken);
18+
console.log('profile:', profile);
1719
}
1820
)
1921
);

0 commit comments

Comments
 (0)