Commit 45929b34 authored by Remi Cresson's avatar Remi Cresson
Browse files

FIX: no-auth flow

1 merge request!50Support de STAC
Pipeline #41274 failed with stages
in 3 minutes and 49 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -142,13 +142,13 @@ class DinamisSpot67Provider(ProviderBase):
self.__auth_headers = None
self.__auth_headers_lock = threading.Lock()
# if not auth:
# self.headers_file = os.path.join(self.tmp_dir.name, 'headers.txt')
# self.auth = OAuth2KeepAlive(
# keycloak_server_url="https://stacapi.147.100.200.143.nip.io/auth/",
# keycloak_client_id="device-client",
# keycloak_realm="dinamis",
# refresh_callback=self.update_headers
# )
# self.headers_file = os.path.join(self.tmp_dir.name, 'headers.txt')
def set_auth_headers(self, token):
"""
......
Supports Markdown
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