Skip to content

Commit a7fd439

Browse files
tracyboehrerTracy Boehrer
and
Tracy Boehrer
authored
Fix for ConfigurationServiceClientCredentialFactory to allow auth disabled scenario (#2135)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
1 parent acfa775 commit a7fd439

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/configuration_service_client_credential_factory.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,7 @@ def __init__(self, configuration: Any, *, logger: Logger = None) -> None:
7171

7272
# Default to MultiTenant
7373
else:
74-
if not app_id:
75-
raise Exception("Property 'APP_ID' is expected in configuration object")
76-
if not app_password:
77-
raise Exception(
78-
"Property 'APP_PASSWORD' is expected in configuration object"
79-
)
80-
74+
# Specifically not checking for appId or password to allow auth disabled scenario
8175
self._inner = PasswordServiceClientCredentialFactory(
8276
app_id, app_password, None, logger=logger
8377
)

0 commit comments

Comments
 (0)