From 10a7ebf746c767166fed6f6107d48b6140066cd1 Mon Sep 17 00:00:00 2001 From: kelvinqian00 Date: Wed, 5 Feb 2025 12:56:35 -0500 Subject: [PATCH 1/2] Add psychopg2 as a required module --- dev-resources/superset_demo/superset/requirements-local.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-resources/superset_demo/superset/requirements-local.txt b/dev-resources/superset_demo/superset/requirements-local.txt index aa507ebaf..488b71944 100644 --- a/dev-resources/superset_demo/superset/requirements-local.txt +++ b/dev-resources/superset_demo/superset/requirements-local.txt @@ -1,3 +1,4 @@ itsdangerous==2.0.1 flask-oidc -flask_openid \ No newline at end of file +flask_openid +psycopg2-binary From 65572ec5b8494aa3dda3e32197b3a0cadbf2cf65 Mon Sep 17 00:00:00 2001 From: kelvinqian00 Date: Wed, 5 Feb 2025 12:57:55 -0500 Subject: [PATCH 2/2] Remove OIDC_REQUIRE_VERIFIED_EMAIL config var --- .../superset_demo/superset/pythonpath_dev/superset_config.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-resources/superset_demo/superset/pythonpath_dev/superset_config.py b/dev-resources/superset_demo/superset/pythonpath_dev/superset_config.py index 4460d91be..fb3d57637 100644 --- a/dev-resources/superset_demo/superset/pythonpath_dev/superset_config.py +++ b/dev-resources/superset_demo/superset/pythonpath_dev/superset_config.py @@ -150,7 +150,6 @@ class CeleryConfig(object): AUTH_TYPE = AUTH_OID OIDC_CLIENT_SECRETS = curr + '/docker/pythonpath_dev/client_secret.json' OIDC_ID_TOKEN_COOKIE_SECURE = False -OIDC_REQUIRE_VERIFIED_EMAIL = False OIDC_OPENID_REALM = get_env_variable('OIDC_OPENID_REALM') OIDC_INTROSPECTION_AUTH_METHOD = 'client_secret_post' CUSTOM_SECURITY_MANAGER = OIDCSecurityManager