Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138192

How to verify a Bearer token with .pfx certificate and password in NodeJs?

$
0
0

The below code works if I try to verify a token with a secret but now I want to verify the token with .pfx certificate and the password. How can this be achieved?

jwt.verify(token, secret, options, function(err, decoded) {
  ...
});

Viewing all articles
Browse latest Browse all 138192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>