How do you verify a JWT token with a x.509 certificate in node?
<p>I'm trying to make a node script verify a JWT token. I have the public key (it's a x.509 certificate) and the JWT. </p>

<p>I tried using
<a href="https://github.com/auth0/node-jsonwebtoken" rel="noreferrer">https://github.com/auth0/node-jsonwebtoken</a>
but unfortunately it seems that they don't support x.509.</p>

<p>If you know of a package that verifies JWT tokens with x.509 certs I would appreciate it.</p>

<p>Thanks! </p>