Skip to content

Commit

Permalink
Fixed refresh token fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Aug 21, 2020
1 parent 84e026d commit 435436d
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 435436d

Please sign in to comment.