Permalink
Browse files

pass refresh_token through (some OAuth services implement it)

  • Loading branch information...
1 parent 6d0c155 commit ba27e78fc1e2a6997edab4675866c1d63e62bd98 @ryedin ryedin committed Nov 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/services/oauth2.js
View
@@ -86,6 +86,7 @@ OAuth2.prototype.onCode = function(req, res) {
data = {
token: data.access_token,
+ refresh_token: data.refresh_token,
id: this.getId(user),
data: user
}

0 comments on commit ba27e78

Please sign in to comment.