Skip to content

Commit

Permalink
Fix for ConfigurationServiceClientCredentialFactory to allow auth dis…
Browse files Browse the repository at this point in the history
…abled scenario (#2135)

Co-authored-by: Tracy Boehrer <[email protected]>
  • Loading branch information
tracyboehrer and Tracy Boehrer authored Jul 8, 2024
1 parent acfa775 commit a7fd439
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,7 @@ def __init__(self, configuration: Any, *, logger: Logger = None) -> None:

# Default to MultiTenant
else:
if not app_id:
raise Exception("Property 'APP_ID' is expected in configuration object")
if not app_password:
raise Exception(
"Property 'APP_PASSWORD' is expected in configuration object"
)

# Specifically not checking for appId or password to allow auth disabled scenario
self._inner = PasswordServiceClientCredentialFactory(
app_id, app_password, None, logger=logger
)
Expand Down

0 comments on commit a7fd439

Please sign in to comment.