Skip to content

Thinking about implementing integrated login authentication? #35584

Answered by vincbeck
oct-sky-out asked this question in Ideas
Discussion options

You must be logged in to vote

In particular, I read the code written in airflow/www/extensions/init_auth_manager.py(- link), and assuming that I have a CustomSecurityManager class, which is an implementation of AirflowSecurityManager, would it be correct to import that class as the value of the core/auth_manager key in the airflow.cfg file so that I can develop in the direction I want?

No. Customizing the security manager is a feature of the FAB auth manager (sorry for all the different names), so if you want to bring your own security manager, you do not need to change the config core/auth_manager (default being the FAB auth manager) but you need to specify it using SECURITY_MANAGER_CLASS. See documentation.

(+ Al…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@vincbeck
Comment options

@oct-sky-out
Comment options

@vincbeck
Comment options

Answer selected by oct-sky-out
@oct-sky-out
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants