Server: fix refreshing token
This commit is contained in:
parent
693b1aba46
commit
fab69ab8aa
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function getClient (clientId, clientSecret) {
|
||||||
return OAuthClient.getByIdAndSecret(mongoId, clientSecret)
|
return OAuthClient.getByIdAndSecret(mongoId, clientSecret)
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRefreshToken (refreshToken, callback) {
|
function getRefreshToken (refreshToken) {
|
||||||
logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').')
|
logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').')
|
||||||
|
|
||||||
return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken)
|
return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken)
|
||||||
|
|
Loading…
Reference in a new issue