hterik commented on pull request #17174: URL: https://github.com/apache/airflow/pull/17174#issuecomment-949351457
The way i interpret the spec is also that you have to list all the security schemes under security. https://swagger.io/docs/specification/authentication/ > After you have defined the security schemes in the securitySchemes section, **you can apply them to the whole API or individual operations by adding the security section on the root level** or operation level, respectively. **When used on the root level, security applies the specified security schemes globally** to all API operations, unless overridden on the operation level Not listing any scheme does not mean "all". The only granularity that implicitly means all is the operations, not the security schemes. I tried making same change as @pateash above on the Python client https://github.com/apache/airflow-client-python, which is broken right now due to not providing the Authentication header, that made it work. So while this change only listing Basic is not enough. Listing all of Basic+GoogleOpenId+Kerberos should be the way to go. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
