Closed nick-berilov closed 1 year ago
Based on openapi spec it's required to use securitySchemes
to allow authorization headers
components: {
securitySchemes: {
bearerAuth: {
type: 'http',
scheme: 'bearer',
},
},
},
Prerequisites
Fastify version
4.18.0
Plugin version
1.9.0
Node.js version
16
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
22.04
Description
Authorization headers not passed on request from UI:
Steps to Reproduce
Expected Behavior
curl
request should include authorization header: