Verify the Bearer token in an Authorization header with the JWT settings of a middleware configuration. Shared by the Express and Fastify adapters.
Authorization
500 when jwtSecret is not configured, 401 when the token is missing or invalid.
jwtSecret
Verify the Bearer token in an
Authorizationheader with the JWT settings of a middleware configuration. Shared by the Express and Fastify adapters.