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

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 141921

Trending Articles