Hi guys,
I’d like to understand how does jwt.io website verify the signature?
i need to implement jwt signature verification on my system but i don’t understand which provider to use.
I don’t have providerUrl
This is my code:
JwkProvider provider = new UrlJwkProvider(providerUrl);
DecodedJWT jwt = JWT.decode(accessToken);
Jwk jwk = provider.get(jwt.getKeyId());
Algorithm algorithm = Algorithm.RSA256((RSAPublicKey) jwk.getPublicKey(), null);
algorithm.verify(jwt);
Please help me to understand
Thanks