Open ITRpablinho opened 4 years ago
hi i'm unable to make working the security of a JWT, i follow the syntax that i found for oas-tools but it's not working:
var options = { controllers: path.join(__dirname, './controllers'), oasSecurity: true, securityFile: { Bearer: verifyToken },
or
securityFile: { Bearer: { issuer: 'ISA Auth', algorithms: ['HS256'], key: 'Secret' }
How can i overcome this issue? Thanks
@ITRpablinho this should be solved by PR 24
hi i'm unable to make working the security of a JWT, i follow the syntax that i found for oas-tools but it's not working:
or
securityFile: { Bearer: { issuer: 'ISA Auth', algorithms: ['HS256'], key: 'Secret' }
How can i overcome this issue? Thanks