mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 04:38:09 +00:00
Drop support for pre 3.0.0 authentication in the cli (#2173)
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user