diff --git a/requirements.txt b/requirements.txt index 5b715a8..c26b0b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ flask-restx==1.1.0 Flask-JWT-Extended==4.4.4 requests==2.31.0 psycopg2==2.9.6 -qwc-services-core==1.3.19 +qwc-services-core==1.3.20 diff --git a/server.py b/server.py index 3d93ad5..713f1fd 100644 --- a/server.py +++ b/server.py @@ -7,7 +7,7 @@ import json import psycopg2 -from qwc_services_core.auth import auth_manager, optional_auth, get_auth_user, get_username +from qwc_services_core.auth import auth_manager, optional_auth, get_identity, get_username from qwc_services_core.tenant_handler import TenantHandler from qwc_services_core.runtime_config import RuntimeConfig from external_ows_layers import ExternalOwsLayers @@ -66,7 +66,7 @@ def post(self, mapid): app.logger.debug("tenant: %s" % tenant) config = config_handler.tenant_config(tenant) - identity = get_auth_user() + identity = get_identity() ogc_service_url = config.get( 'ogc_service_url', 'http://localhost:5013/')