This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Unable to integrate keycloak provider with Airflow 2.7.3 #36796
Labels
area:core
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.7.3
What happened?
Hello,
I am trying to integrate keycloak with airflow which I have managed successfully in the past however I am currently struggling - possibly due to it being a newer version of airflow where I understand certain authentication mechanisms have changed.
Having followed the guide have the following
webserver_config.py
file:and the following
keycloakAuthorizer.py
which should be in the same path:However when the webserver launches, there is no option to login via keycloak - only standard username and password.
The only error I can see that might be relevant when the webserver loads which relates to the google package (for what I believe is required for keycloak to work):
I have tried version 2.8.0 as well, but due to #36702 - this does not work.
I am at a bit of a loss as to how to resolve, I have tried a number of images, but not certain if this is supported anymore or if there is another way to resolve.
What you think should happen instead?
User should be presented with a login option with keycloak
How to reproduce
Have described above
Operating System
Tags 2.7.3-python3.11 and 2.7.3 in docker
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==8.10.0
apache-airflow-providers-celery==3.4.1
apache-airflow-providers-cncf-kubernetes==7.8.0
apache-airflow-providers-common-sql==1.8.0
apache-airflow-providers-daskexecutor==1.1.0
apache-airflow-providers-docker==3.8.0
apache-airflow-providers-elasticsearch==5.1.0
apache-airflow-providers-ftp==3.6.0
apache-airflow-providers-google==10.11.0
apache-airflow-providers-grpc==3.3.0
apache-airflow-providers-hashicorp==3.5.0
apache-airflow-providers-http==4.6.0
apache-airflow-providers-imap==3.4.0
apache-airflow-providers-microsoft-azure==8.1.0
apache-airflow-providers-mysql==5.4.0
apache-airflow-providers-odbc==4.1.0
apache-airflow-providers-openlineage==1.2.0
apache-airflow-providers-postgres==5.7.1
apache-airflow-providers-redis==3.4.0
apache-airflow-providers-sendgrid==3.3.0
apache-airflow-providers-sftp==4.7.0
apache-airflow-providers-slack==8.3.0
apache-airflow-providers-snowflake==5.1.0
apache-airflow-providers-sqlite==3.5.0
apache-airflow-providers-ssh==3.8.1
Deployment
Official Apache Airflow Helm Chart
Deployment details
Deploying on EKS v1.28.3
Helm Version v3.13.1
Helm Chart Version 1.11.0
Anything else?
Would be happy to support updating a PR, but not really sure where to start!
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: