Jie211 commented on issue #50684: URL: https://github.com/apache/airflow/issues/50684#issuecomment-2892961204
Ok, The problem was solved. > Should I focus solely on implementing get_user_from_token() in my custom auth manager? > Is there any scenario where requires_authentication is still used for API endpoints in Airflow 3.0.0? After upgrading to Airflow 3.0.0 with the FAB provider, all endpoints under the public API (/api/v2/*) use `get_user_from_token()` to validate tokens. However, the endpoints provided by the FAB provider itself (for managing users/roles/permissions) still use the `requires_authentication` decorator from the FAB auth backends module. > If requires_authentication is indeed obsolete for v2 API endpoints, should the FAB provider documentation be updated to reflect this change? Yes, this information should be noted in the FAB provider's documentation. Additionally, the path for APIs provided by the FAB provider is directly under `/auth/fab/v1/` (like `/auth/fab/v1/users`, `/auth/fab/v1/roles`, etc.), which is also not clearly mentioned in the FAB provider's documentation. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org