Skip to content

[WIP] Add FastAPI Depends for Auth Manager #50585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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
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