airtasker/spot

Support enhanced security headers

mahirk opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
An organization may have one more security strategies, that also may be specific to a certain flow. These may also extend to various types such as api key, openID or OAuth. In my case, I would like to define 2 security schemes, apply one globally, but apply the second selectively.

Describe the solution you'd like

Smaller Fixes

  1. Allow multiple security schemes to be defined with custom names
  2. Allow security headers for individual requests

Longer Term

  1. Allow for more authentication flows and permission boundaries

Describe alternatives you've considered
Unfortunately there was no work around to this.

Additional context
Flows: https://swagger.io/docs/specification/authentication/

This would be a great enhancement,

I had to manually put some content in the generated yml file to support the security headers I was requiring and while that didn't stopped me from using Spot for everything else, it would be great to have it as a feature.

Thank you!