Commit dda17417 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

Merge branch 'incorrect-auth-module-name' into 'master'

Correct qualified service principal module name

See merge request !38
parents 1bc7059e 09390f8e
Pipeline #65695 passed with stages
in 1 minute and 57 seconds
......@@ -66,7 +66,7 @@ class BaseClient:
The path to the logic to get a valid bearer token is dynamically injected based on
what provider and entitlements module name is provided in the configuration yaml
"""
entitlements_client = importlib.import_module('osdu_api.provider.%s.%s' % (self.provider, self.service_principal_module_name))
entitlements_client = importlib.import_module('osdu_api.providers.%s.%s' % (self.provider, self.service_principal_module_name))
self.service_principal_token = entitlements_client.get_service_principal_token()
def make_request(self, method: HttpMethod, url: str, data = '', add_headers = {}, params = {}, bearer_token = None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment