Closed rbudding closed 7 years ago
function(accessToken, idToken, refreshToken, user, session, cb) { process.nextTick(function() { user.expiration = session.getIdToken().getExpiration(); ... cb(null, user); })
--> How can I use the RefreshToken if the user.expiration is true...
Please refer my production code https://gist.github.com/kndt84/5be8e86a15468ed1c8fc3699429003ad
function(accessToken, idToken, refreshToken, user, session, cb) { process.nextTick(function() { user.expiration = session.getIdToken().getExpiration(); ... cb(null, user); })
--> How can I use the RefreshToken if the user.expiration is true...