mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 04:18:07 +00:00
fix cli client registration (#825)
- The CLIClient approle was not assigned to the cli registration created byt he registration.py script
This commit is contained in:
@ -1572,10 +1572,14 @@ class Onefuzz:
|
||||
client_secret: Optional[str] = None,
|
||||
enable_feature: Optional[PreviewFeature] = None,
|
||||
tenant_domain: Optional[str] = None,
|
||||
reset: Optional[bool] = None,
|
||||
) -> BackendConfig:
|
||||
"""Configure onefuzz CLI"""
|
||||
self.logger.debug("set config")
|
||||
|
||||
if reset:
|
||||
self._backend.config = BackendConfig(authority="", client_id="")
|
||||
|
||||
if endpoint is not None:
|
||||
# The normal path for calling the API always uses the oauth2 workflow,
|
||||
# which the devicelogin can take upwards of 15 minutes to fail in
|
||||
|
Reference in New Issue
Block a user