krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

Always returning 401 Unauthorized with a basic authorization securityDefinitions #113

Open muzammilmuzzu opened 4 years ago

muzammilmuzzu commented 4 years ago

I have included securityDefinitions in a swagger file with type basicAuth and specified the "x-Authorization" into it. When i hit the handler i am getting 401 Unauthorized status, even if i pass header with Authorization : Basic key, Any idea why this is happening?