ephraimbuddy commented on pull request #19851: URL: https://github.com/apache/airflow/pull/19851#issuecomment-983386280
It looks like we can't possibly integrate the stable REST API into the current CLI because of authentication. I wonder if anyone knows what should be in auth backends CLIENT_AUTH. In basic auth backend it's `None` see https://github.com/apache/airflow/blob/d067cfea701b7077bfa6c0f2b5339848579ee184/airflow/api/auth/backend/basic_auth.py#L27 This is supposed to be used by the REST API client as shown here https://github.com/apache/airflow/blob/d067cfea701b7077bfa6c0f2b5339848579ee184/airflow/api/client/__init__.py#L37 @uranusjr @ashb @msumit will appreciate your guidance on this. Another option I'm thinking of now is creating an auth endpoint and having the airflow cli as a separate project that connects to airflow instance using the airflow rest client. -- 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]
