This is an automated email from the ASF dual-hosted git repository. adamsd pushed a commit to branch adum-superset in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit de874edd2785ed32febc4bcd4ccfa3f12117f56f Author: AdamsDisturber <adamsdistur...@gmail.com> AuthorDate: Fri Oct 25 11:27:03 2019 +0300 added OIDC_VALID_ISSUERS in superset_config.py --- infrastructure-provisioning/src/general/lib/os/fab.py | 2 ++ infrastructure-provisioning/src/superset/templates/superset_config.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index e8c8033..0150370 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -777,6 +777,8 @@ def configure_superset(os_user, keycloak_auth_server_url, keycloak_realm_name, k sudo('sed -i \'s/CLIENT_ID/{}/g\' /opt/dlab/templates/id_provider.json'.format(keycloak_client_id)) sudo('sed -i \'s/CLIENT_SECRET/{}/g\' /opt/dlab/templates/id_provider.json'.format(keycloak_client_secret)) sudo('sed -i \'s/PROXY_STRING/{}/g\' /opt/dlab/templates/docker-compose.yml'.format(proxy_string)) + sudo('sed -i \'s/KEYCLOAK_AUTH_SERVER_URL/{}/g\' /opt/dlab/templates/superset_config.py'.format(keycloak_auth_server_ip)) + sudo('sed -i \'s/KEYCLOAK_REALM_NAME/{}/g\' /opt/dlab/templates/superset_config.py'.format(keycloak_realm_name)) sudo('cp -f /opt/dlab/templates/.env /home/{}/incubator-superset/contrib/docker/'.format(os_user)) sudo('cp -f /opt/dlab/templates/docker-compose.yml /home/{}/incubator-superset/contrib/docker/'.format(os_user)) sudo('cp -f /opt/dlab/templates/id_provider.json /home/{}/incubator-superset/contrib/docker/'.format(os_user)) diff --git a/infrastructure-provisioning/src/superset/templates/superset_config.py b/infrastructure-provisioning/src/superset/templates/superset_config.py index dc44b69..77d7086 100644 --- a/infrastructure-provisioning/src/superset/templates/superset_config.py +++ b/infrastructure-provisioning/src/superset/templates/superset_config.py @@ -63,4 +63,5 @@ AUTH_USER_REGISTRATION = True AUTH_USER_REGISTRATION_ROLE = "Admin" CUSTOM_SECURITY_MANAGER = SupersetOIDCSecurityManager OIDC_CLIENT_SECRETS = '/home/superset/superset/id_provider.json' -OIDC_COOKIE_SECURE = False \ No newline at end of file +OIDC_COOKIE_SECURE = False +OIDC_VALID_ISSUERS = 'http://KEYCLOAK_AUTH_SERVER_URL/realms/KEYCLOAK_REALM_NAME' \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org