Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[C#][Virtual Assistant Template] Fixing inverted parameters in TokenExchangeSkillHandler.cs #3686

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ private async Task<bool> InterceptOAuthCardsAsync(ClaimsIdentity claimsIdentity,
// AAD token exchange
var result = await _tokenExchangeProvider.ExchangeTokenAsync(
context,
activity.Recipient?.Id,
_tokenExchangeConfig.ConnectionName,
activity.Recipient?.Id,
new TokenExchangeRequest() { Uri = oauthCard.TokenExchangeResource.Uri }).ConfigureAwait(false);

if (!string.IsNullOrEmpty(result.Token))
Expand Down