diff --git a/airflow/www/fab_security/manager.py b/airflow/www/fab_security/manager.py index 85341e9c58cab..e340c179c72f6 100644 --- a/airflow/www/fab_security/manager.py +++ b/airflow/www/fab_security/manager.py @@ -591,6 +591,7 @@ def get_oauth_user_info(self, provider, resp): "last_name": me.get("family_name", ""), "id": me["oid"], "username": me["oid"], + "role_keys": me.get("roles", []), } # for OpenShift if provider == "openshift":