Skip to content

Commit

Permalink
Merge pull request #111 from 0702Yoon/main
Browse files Browse the repository at this point in the history
refactor : refresh token type 명시
  • Loading branch information
0702Yoon authored Aug 16, 2024
2 parents 39956ec + 0c21de1 commit a397920
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public String createTokenByRefreshToken(String refreshToken) {
return Jwts.builder()
.setSubject(claims.getSubject())
.claim("auth",claims.get("auth"))
.claim("type", ACCESS_TOKEN)
.setExpiration(expiraion)
.signWith(key, SignatureAlgorithm.HS256)
.compact();
Expand Down

0 comments on commit a397920

Please sign in to comment.