Drop support for pre 3.0.0 authentication in the cli
@@ -180,13 +180,11 @@ class Backend:
endpoint = urlparse(self.config.endpoint).netloc.split(".")[0]
scopes = [
f"api://{self.config.tenant_domain}/{endpoint}/.default",
- f"https://{self.config.tenant_domain}/{endpoint}/.default", # before 3.0.0 release
]
else:
netloc = urlparse(self.config.endpoint).netloc
scopes = [
f"api://{netloc}/.default",
- f"https://{netloc}/.default", # before 3.0.0 release
]
if self.client_secret:
