vincbeck commented on issue #51362: URL: https://github.com/apache/airflow/issues/51362#issuecomment-3602483532
> Loudly thinking. MAYBE we can create and release a separate distribution with Flask and other necessary dependencies that could provide a bridge for people who used the all AuthBackends? Say `apache-airflow-auth-backend-v2-backcompat` ? > > I can see this can be a blocker, but I think it should be possible to extend the original JWT-only mechanism with a simple, pluggable API that could be provided by this additional package [@vincbeck](https://github.com/vincbeck) [@pierrejeambrun](https://github.com/pierrejeambrun) -> WDYT? Another proposal would be to create a new method in the auth manager interface like `create_api_token` (or any other better name). This method would basically contain the logic [here](https://github.com/apache/airflow/blob/b18c2689aae9d5e55eaf166191113143df41fa09/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/services/login.py#L38). This logic, by default, expect username and password. Users would then be able to easily override this method and implement their own logic. What do you think? -- 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]
