expressJwt({ secret, algorithms: ['HS256'] }).unless code example Example: user property in express jwt jwt({ secret: publicKey, requestProperty: 'auth' });