|
@@ -70,7 +70,7 @@ public class TokenProvider {
|
|
|
.claim(AUTHORITIES_KEY, authorities)
|
|
.claim(AUTHORITIES_KEY, authorities)
|
|
|
.claim(USER_DETAIL_KEY,
|
|
.claim(USER_DETAIL_KEY,
|
|
|
userMapper.domainToUserVO((DomainUserDetails) authentication.getPrincipal()))
|
|
userMapper.domainToUserVO((DomainUserDetails) authentication.getPrincipal()))
|
|
|
- .signWith(key, SignatureAlgorithm.HS512)
|
|
|
|
|
|
|
+ .signWith(key, SignatureAlgorithm.HS256)
|
|
|
.compact();
|
|
.compact();
|
|
|
}
|
|
}
|
|
|
|
|
|