Skip to content

Commit

Permalink
Merge pull request #323 from gertux/master
Browse files Browse the repository at this point in the history
refreshed token is ignored
  • Loading branch information
afabiani authored Apr 3, 2024
2 parents 7749095 + e895a5c commit c0c78b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public SessionToken refresh(String refreshToken, String accessToken) {
if ((expiresIn == null || fiveMinutesFromNow.after(expiresIn)) && refreshToken != null) {
if (LOGGER.isDebugEnabled())
LOGGER.info("Going to refresh the token.");
doRefresh(refreshToken, accessToken, configuration);
sessionToken = doRefresh(refreshToken, accessToken, configuration);
}
if (sessionToken == null)
sessionToken = sessionToken(accessToken, refreshToken, currentToken.getExpiration());
Expand Down

0 comments on commit c0c78b2

Please sign in to comment.