PATCH missing Bruno config

This commit is contained in:
2025-08-11 15:43:25 +02:00
parent fda43855cc
commit 19a78df4c6
3 changed files with 6 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import java.util.Date;
import com.auth0.jwt.JWT;
import com.auth0.jwt.JWTVerifier;
import com.auth0.jwt.algorithms.Algorithm;
import com.auth0.jwt.exceptions.JWTDecodeException;
import com.auth0.jwt.exceptions.TokenExpiredException;
import com.auth0.jwt.interfaces.DecodedJWT;
import org.springframework.beans.factory.annotation.Value;
@@ -47,7 +48,7 @@ public class JwtService {
}
return jwt.getClaim(USER_ID_CLAIM).asLong();
} catch (JwtException | IllegalArgumentException | TokenExpiredException ignored) {
} catch (JwtException | IllegalArgumentException | TokenExpiredException | JWTDecodeException ignored) {
return null;
}
}