Validating token

I am generating token using njwt( in node. How can i verify this token using okta-jwt-verifier ( ?

I need to create a long-lived token and also be able to verify it using okta-jwt-verifier. Is there a way?

From the documentation for okta-jwt-verifer… This library verifies Okta access tokens (issued by Okta Custom Authorization servers