提交 64381490 编写于 作者: 智布道's avatar 智布道 👁

🍻 use jwks key to parse jwt token

上级 17a92d60
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册