Skip to content

Commit

Permalink
(4.2.1) Fixed refresh token fetching
Browse files Browse the repository at this point in the history
#1449

(cherry picked from commit 435436d)
  • Loading branch information
yuriyz committed Aug 21, 2020
1 parent d8c13d8 commit 75c3be9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ public RefreshToken getRefreshToken(String refreshTokenCode) {
log.trace("Looking for the refresh token: " + refreshTokenCode + " for an authorization grant of type: "
+ getAuthorizationGrantType());
}

return refreshTokens.get(refreshTokenCode);
return refreshTokens.get(TokenHashUtil.hash(refreshTokenCode));
}

/**
Expand Down

0 comments on commit 75c3be9

Please sign in to comment.