pierrejeambrun commented on issue #51362:
URL: https://github.com/apache/airflow/issues/51362#issuecomment-3602605578

   > 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?
   
   If we can workaround this by extending the Auth Manager interface and 
implementing a custom auth manager with that, I think it's a reasonable 
approach to replace 2.x auth backend. I would favor this over a new 
distribution because it's mostly straight forward and people seem familiar with 
custom auth manager already.


-- 
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]

Reply via email to