GitHub user potiuk added a comment to the discussion: Enable multiple Authentication method in Airflow 3
> Any minimal example or clarification on how to properly configure both > methods would be greatly appreciated :). No example/clarification for now, but if you figure it out, documenting it back woudl be cool. Generally speaking - you need to write your custom auth manager https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/auth-manager/index.html#writing-your-own-auth-manager using essentiallly strategy pattern https://refactoring.guru/design-patterns/strategy Strategy pattern means that you can instantiate two Auth Manager and based on strategy defined by you your custom auth manager will route auth manger method calls that it will receive to either one or the other. That's the theory - you are the first to want it and maybe implementing it, so once you do it, documenting it would be a great contribution. GitHub link: https://github.com/apache/airflow/discussions/56594#discussioncomment-14897433 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
