node-oauth2-jwt-bearer
node-oauth2-jwt-bearer copied to clipboard
Create a separate method to validate a jwt
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