This commit is contained in:
JhontSouth 2024-06-19 12:41:07 -05:00
Родитель 343a7257bc
Коммит 23e3e726a8
3 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1,4 +1,5 @@
MicrosoftAppTenantId=
MicrosoftAppType=
MicrosoftAppId=
CertificateThumbprint=
KeyVaultName=

Просмотреть файл

@ -58,6 +58,7 @@ node --version
- MicrosoftAppId: App Id of your bot (gathered from the [Setup a Bot][#TrySample] step).
- CertificateThumbprint: Thumbprint of the certificate uploaded to the app registration.
- MicrosoftAppTenantId: Tenant Id to which your bot belongs (optional for MultiTenant apps).
- MicrosoftAppType: Type of the App (optional for MultiTenant apps).
2. Intall and configure [OpenSSL](https://www.openssl.org/source/) with the latest version
- Download the latest version source and add the folder to the [environment variables](https://www.java.com/en/download/help/path.html) path.
@ -127,6 +128,7 @@ node --version
- MicrosoftAppId: App Id of your bot (gathered from the [Setup a Bot][#TrySample] step).
- CertificateThumbprint: Thumbprint of the certificate uploaded to the app registration.
- MicrosoftAppTenantId: Tenant Id to which your bot belongs (optional for MultiTenant apps).
- MicrosoftAppType: Type of the App (optional for MultiTenant apps).
2. Create a [KeyVault](https://learn.microsoft.com/en-us/azure/key-vault/general/quick-create-portal) resource.

Просмотреть файл

@ -57,7 +57,8 @@ const { AuthBot } = require('./authBot');
MicrosoftAppId: process.env.MicrosoftAppId,
CertificateThumbprint: process.env.CertificateThumbprint,
CertificatePrivateKey: certificateKey,
MicrosoftAppTenantId: process.env.MicrosoftAppTenantId
MicrosoftAppTenantId: process.env.MicrosoftAppTenantId,
MicrosoftAppType: process.env.MicrosoftAppType
});
// ---- Authenticate using local certificate