From e635a100e87e1ffb2648eadc8c396d6a442a82c1 Mon Sep 17 00:00:00 2001 From: minjun Date: Tue, 20 Jun 2023 20:56:16 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20#275=20-=20=ED=86=A0=ED=81=B0=20?= =?UTF-8?q?=EC=9E=AC=EB=B0=9C=EA=B8=89=20=ED=8C=8C=EC=8B=B1=20=ED=95=A8?= =?UTF-8?q?=EC=88=98=20=EC=98=88=EC=99=B8=20=EC=B2=98=EB=A6=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/shop/cazait/global/config/encrypt/JwtService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/shop/cazait/global/config/encrypt/JwtService.java b/src/main/java/shop/cazait/global/config/encrypt/JwtService.java index eda5fced..2715f28b 100644 --- a/src/main/java/shop/cazait/global/config/encrypt/JwtService.java +++ b/src/main/java/shop/cazait/global/config/encrypt/JwtService.java @@ -217,7 +217,7 @@ public boolean isValidAccessTokenInRefresh(String token) throws UserException { } catch (ExpiredJwtException exception) { log.error("Token Expired UserID = " + exception.getClaims().get("userIdx")); return false; - } catch (JwtException exception) { + } catch (JwtException | IllegalArgumentException exception) { log.error("accessToken Tampered."); throw new UserException(INVALID_JWT); } catch (NullPointerException exception) {