diff --git a/samples/msgext-search-sso-config/.env b/samples/msgext-search-sso-config/.env index aad6703eda..7dc5295e35 100644 --- a/samples/msgext-search-sso-config/.env +++ b/samples/msgext-search-sso-config/.env @@ -1,4 +1,4 @@ MicrosoftAppId=d9dd7f95-ce59-4c16-abf2-378569eee647 MicrosoftAppPassword=81n5x5.lGyE1p_OKN5oJt2F4__w_32FNqz connectionName=YifeBotConnect -SiteUrl=https://497b94975bbe.ngrok.io \ No newline at end of file +SiteUrl=https://5bc254477ba4.ngrok.io \ No newline at end of file diff --git a/samples/msgext-search-sso-config/bots/teamsMessagingExtensionsSearchAuthConfigBot.js b/samples/msgext-search-sso-config/bots/teamsMessagingExtensionsSearchAuthConfigBot.js index 1c9b11c109..d238500527 100644 --- a/samples/msgext-search-sso-config/bots/teamsMessagingExtensionsSearchAuthConfigBot.js +++ b/samples/msgext-search-sso-config/bots/teamsMessagingExtensionsSearchAuthConfigBot.js @@ -63,7 +63,7 @@ class TeamsMessagingExtensionsSearchAuthConfigBot extends TeamsActivityHandler { return { composeExtension: { - type: 'auth', + type: 'silentAuth', suggestedActions: { actions: [ { @@ -165,7 +165,7 @@ class TeamsMessagingExtensionsSearchAuthConfigBot extends TeamsActivityHandler { return { composeExtension: { - type: 'auth', + type: 'silentAuth', suggestedActions: { actions: [ { @@ -401,7 +401,7 @@ class TeamsMessagingExtensionsSearchAuthConfigBot extends TeamsActivityHandler { if (!tokenExchangeResponse || !tokenExchangeResponse.token) { return false; } - console.log('Exchanged token: ' + tokenExchangeResponse); + console.log('Exchanged token: ' + tokenExchangeResponse.token); return true; } }