Skip to content

Commit

Permalink
Merge pull request #253 from codesquad-members-2023-team6/dev
Browse files Browse the repository at this point in the history
Fix : jwt -> jws 변경
  • Loading branch information
lvalentine6 committed Jun 1, 2023
2 parents 4ada3c2 + 1b11927 commit e1e539a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public boolean validateToken(String token) {
try {
log.info("유효 토큰 예외 검증 시작 : " + token);
log.info("유효 시크릿 예외 검증 시작 : " + secret);
Jwts.parserBuilder().setSigningKey(secret).build().parseClaimsJwt(token);
Jwts.parserBuilder().setSigningKey(secret).build().parseClaimsJws(token);
return true;
} catch (io.jsonwebtoken.security.SecurityException | MalformedJwtException e) {
log.info("잘못된 서명입니다.");
Expand Down

0 comments on commit e1e539a

Please sign in to comment.