We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9efda6d commit c4d83c6Copy full SHA for c4d83c6
1 file changed
src/main/java/com/iemr/common/utils/TokenDenylist.java
@@ -30,7 +30,6 @@ public void addTokenToDenylist(String jti, Long expirationTime) {
30
throw new IllegalArgumentException("Expiration time must be positive");
31
}
32
33
- // Store the jti in Redis with expiration time set to the token's exp time (in milliseconds)
34
try {
35
String key = getKey(jti); // Use helper method to get the key
36
redisTemplate.opsForValue().set(key, " ", expirationTime, TimeUnit.MILLISECONDS);
0 commit comments