Validating token

I am generating token using njwt(https://www.npmjs.com/package/njwt) in node. How can i verify this token using okta-jwt-verifier (https://www.npmjs.com/package/@okta/jwt-verifier/v/0.0.16) ?

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