Skip to content

Use Airflow config in SimpleAuthManager instead of Flask app config#45059

Merged
vincbeck merged 2 commits intoapache:mainfrom
aws-mwaa:vincbeck/simple_am_config
Dec 20, 2024
Merged

Use Airflow config in SimpleAuthManager instead of Flask app config#45059
vincbeck merged 2 commits intoapache:mainfrom
aws-mwaa:vincbeck/simple_am_config

Conversation

@vincbeck
Copy link
Contributor

The simple auth manager uses the Flask config to get the list of users. Since we are moving away from Flask and simple auth manager should work without Flask, I propose to use the Airflow config instead. That also makes us one step closer to have the simple auth manager no longer dependent on Flask appbuilder.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • docs/apache-airflow/core-concepts/auth-manager/simple.rst: Language not supported
  • airflow/config_templates/default_webserver_config.py: Evaluated as low risk

@vincbeck vincbeck force-pushed the vincbeck/simple_am_config branch 2 times, most recently from b0b9420 to 003418e Compare December 20, 2024 21:35
@vincbeck vincbeck force-pushed the vincbeck/simple_am_config branch from 003418e to e3a31a9 Compare December 20, 2024 21:41
@vincbeck vincbeck force-pushed the vincbeck/simple_am_config branch from e3a31a9 to f93bff1 Compare December 20, 2024 21:42
@vincbeck vincbeck merged commit 228c48c into apache:main Dec 20, 2024
@vincbeck vincbeck deleted the vincbeck/simple_am_config branch December 20, 2024 22:12
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants