Skip to content

Commit

Permalink
refreshed token is ignored
Browse files Browse the repository at this point in the history
(cherry picked from commit e895a5c)
  • Loading branch information
gertux authored and afabiani committed Apr 3, 2024
1 parent 7d95ab6 commit bc5a969
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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 bc5a969

Please sign in to comment.