vincbeck commented on issue #51362: URL: https://github.com/apache/airflow/issues/51362#issuecomment-3633506918
Have you read the doc in the PR? If yes I think this is not clear then :) I'll try to provide more details. In Airflow 3, the Airflow API uses JWT token to authenticate. We do NOT want to change that. This will stay as is. I understand that in Airflow 2, you could customize that, this is no longer possible in Airflow 3. In order to generate a JWT token to call Airflow API, you can use [Fab auth manager token API](https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/token.html). Each auth manager define its own way to generate a JWT token. To answer your question, you should: - Override `create_token` method as described in the doc - As a user, you should call [Fab auth manager token API](https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/token.html) to generate a token and use this token to call Airflow API -- 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]
