title: Error: Unknown authentication strategy "jwt"
body: <p>im learning abt passport and jwt auth and i got an error says <code>Error: Unknown authentication strategy "jwt"</code> </p>
  
  <p>here my auth.js</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const passport = require('passport')
  
  module.exports = function(req, res, next){
      passport.authenticate('jwt', function (err, user){
          if (err || !user){
              res.status(403).send({
              error: "you dont have access to this resource"                
              })
          }else{
              req.user = user
              next()
          }
      })(req, res, next)
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>can anyone spot which one is wrong? thanks</p>