Skip to content

Conversation

@jason810496
Copy link
Member

@jason810496 jason810496 commented May 14, 2025

related: #50372
related comment: #50372 (comment)

Why

Follow-up PR for Replace DagBag from global app state to with FastAPI dependency #50372, we should also add FastAPI Depends for Auth Manger.

What

  • Move initialization of Auth Manager from airflow.api_fastapi.app to airflow.api_fastapi.common.auth_manager module.
  • Add FastAPI depends and also ensure singleton for Auth Manager.

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Jun 29, 2025
@github-actions github-actions bot closed this Jul 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:CLI area:providers provider:fab stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant