You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds support for the CloudAdapter's configuration process to authenticate using certificates is MultiTenant and SingleTenant apps.
Specific Changes
Added CertificateServiceClientCredentialsFactory class, to instantiate and configure the CertificateAppCredentials class, so the process knows how to authenticate with certificates.
Added ConfigurationServiceClientCredentialFactory unit tests, validating the different code paths when using certificates.
Added CertificateThumbprint and CertificatePrivateKey constants to the AuthenticationConstants, ConfigurationBotFrameworkAuthentication and ConfigurationServiceClientCredentialFactory classes.
Updated ConfigurationServiceClientCredentialFactory to detect when a certificate is provided, and execute the proper functionality to authenticate with certificates (instead of a password) in MultiTenant and SingleTenant apps.
Testing
The following images show the bot and unit tests working as expected.
The text was updated successfully, but these errors were encountered:
ceciliaavila
added
bug
Indicates an unexpected problem or an unintended behavior.
parity
The issue describes a gap in parity between two or more platforms.
labels
May 5, 2023
The changes in fix: [#4449] CloudAdapter always builds Connector with MicrosoftAppCredentials (never CertificateAppCredentials) -- certificate auth flow broken may need to be ported to maintain parity with microsoft/botbuilder-dotnet.
The text was updated successfully, but these errors were encountered: