node-oauth2-jwt-bearer icon indicating copy to clipboard operation
node-oauth2-jwt-bearer copied to clipboard

Create a separate method to validate a jwt

Open nachomglz opened this issue 1 year ago • 0 comments

Checklist

  • [X] I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • [X] I have searched the issues and have not found a suitable solution or answer.
  • [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I want to create a custom middleware to handle authentication and user registration, but want to use this library to validate the token.

Describe the ideal solution

A method that I can just call from whatever part of the code, which would receive the same parameters as auth and get the validation result.

Alternatives and current workarounds

No response

Additional context

No response

nachomglz avatar Aug 09 '24 18:08 nachomglz