mirror of
https://gitee.com/fujieid/jap.git
synced 2024-11-30 18:47:35 +08:00
🍻 use jwks key to parse jwt token
This commit is contained in:
parent
17a92d607f
commit
64381490e4
@ -155,7 +155,7 @@ public class JwtUtil {
|
||||
// allow some leeway in validating time based claims to account for clock skew
|
||||
.setAllowedClockSkewInSeconds(30)
|
||||
// verify the signature with the public key
|
||||
// .setVerificationKey(publicJsonWebKey.getPublicKey())
|
||||
.setVerificationKey(publicJsonWebKey.getPublicKey())
|
||||
// create the JwtConsumer instance
|
||||
.build();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user