BackendStack21/fast-gateway

Implementing Express-JWT

Closed this issue · 0 comments

I Confuse about express jwt create token in middleware

prefix: '/admin',
    target: 'http://localhost:3001',
    middlewares: [
      require('express-jwt')({
        secret: 'shhhhhhared-secret'
      })
    ]

and after running,
no authorization was not found

how should i add the token in middlewares?