Closed camclark85 closed 3 years ago
I'm unable to get my JWT validation function to execute.
I've tried both this:
var options = { oasSecurity: true, securityFile: { Bearer: verifyToken }, routing: { controllers: path.join(__dirname, './controllers'), } };
and this:
var options = { oasSecurity: true, routing: { securityFile: { Bearer: verifyToken }, controllers: path.join(__dirname, './controllers'), } };
Is this a known issue or am I missing something here? The routing is working fine otherwise but I've been trying everything I can think of and I just can't get the security authorization working.
My bad I was looking at the documentation from oas-tools.
I'm unable to get my JWT validation function to execute.
I've tried both this:
and this:
Is this a known issue or am I missing something here? The routing is working fine otherwise but I've been trying everything I can think of and I just can't get the security authorization working.