JSON Web Token

To enable JWT authentication, you can use the jwtAuthMiddleware middleware on your app.

src/middleware.ts

You can customize the middleware using the configuration object containing the JWT secret and verify options.

Check out the jsonwebtoken library for more details on the configuration options.

One framework to rule them all

    JSON Web Token | xmcp Documentation