Replies: 1 comment 3 replies
-
I think a very good guideline and step-by-step does not exist but you can see at earlier discussions #17471 and try to search google or stack overflow for someone who integrated Airflow with Google Auth. Also you might want to take a look at Flask Application Builder configuration of Oauth authentication - this is what Airflow uses under the hood: https://flask-appbuilder.readthedocs.io/en/latest/security.html And finally if you get it working - any contribution on our docs would be most welcome. I think we miss a good guide for that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get Airflow to use Google OAuth instead of the standard username/password login. I'm using the official docker-compose file.
Under
x-airflow-common
, I have the following environment variables set:I'm extending the standard airflow image in a Dockerfile, so I have the following in my Dockerfile that I've placed right next to the
docker-compose.yaml
file.I've verified that
apache-airflow[google_auth]
is installed on mywebserver
container, and the environment variables are set as expected. However, I'm still presented with the standard username/passward login option instead of a way to authenticate with Google OAUTH.If anyone could give me pointers and show me what I'm missing, that would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions