melicheradam commented on issue #51362: URL: https://github.com/apache/airflow/issues/51362#issuecomment-3633583867
Yes I have read the doc. I was not completely sure, it this > Get token from IAM -> send this token as Bearer header to airflow/api/auth endpoint -> receive new "airflow token" -> use this "airflow token" for subsequent requests? is the intended/correct flow. Where have I suggested not using JWT token to authenticate? I am just saying, in Airflow 2, you could use ANY token from ANY provider when accessing the API. Now you have to use Airflow - because you need to use the [Fab auth manager token API](https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/token.html). And I am talking about the logic in `FabAuthManager.get_user_from_token`, since that is the one processing tokens. This was previously easily customizable, not generating JWT tokens in airflow. Anyway thanks for the hard work, i am sure the solution you provided will be usable :) -- 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]
