Use Auth0 API protected route with Express route handlers

you can use any middleware like this in your router:

const router = express.Router();

router.route('/').get([checkJwt, secondMiddleware, ...] , getStudents);

based on documentation: express-routing

You can provide multiple callback functions that behave like middleware to handle a request. The only exception is that these callbacks might invoke next('route') to bypass the remaining route callbacks. You can use this mechanism to impose pre-conditions on a route, then pass control to subsequent routes if there’s no reason to proceed with the current route.