Merge branch 'dev/v1.1.2' into feat/renew-with-payload-in-old-token
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ public class JjwtTokenResolver implements TokenResolver<Jws<Claims>> {
|
|||||||
.setId(jtiCreator.nextId().toString());
|
.setId(jtiCreator.nextId().toString());
|
||||||
|
|
||||||
if (claims != null && !claims.isEmpty()) {
|
if (claims != null && !claims.isEmpty()) {
|
||||||
builder.setClaims(claims);
|
builder.addClaims(claims);
|
||||||
}
|
}
|
||||||
|
|
||||||
return builder.signWith(key, algorithm)
|
return builder.signWith(key, algorithm)
|
||||||
|
|||||||
Reference in New Issue
Block a user