web123456

【Solved】An error was reported when jwt verifying token:: Signed Claims JWSs are not supported.

Follow the work number: Tiantian Talks about programming

Your attention is my greatest motivation!

Just look at the code, are you sure your checkJWT is written correctly! ?

().setSigningKey(SECRET).parseClaimsJwt((TOKEN_PREFIX, "")).getBody();
().setSigningKey(SECRET).parseClaimsJws((TOKEN_PREFIX, "")).getBody();

yesparseClaimsJws  

noparseClaimsJwt

OK? Solved?

When writing code, be careful and attentive.

I turned a blind eye to the things outside the window and wrote the code with all my heart!