Skip to content

Commit

Permalink
Fixed issue with emulated oauth token.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Aug 16, 2019
1 parent f8e7976 commit f13fca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Added
- [main] Added End-to-End tests using Spectron in PR [1696](https://github.com/microsoft/BotFramework-Emulator/pull/1696)
- [main] New Conversation: send a single conversation update activity including bot and user as members added [1709](https://github.com/microsoft/BotFramework-Emulator/pull/1709)
- [app] Consolidated application state store and removed the need for explicit state synchronization between the main and renderer processes in PR [1721](https://github.com/microsoft/BotFramework-Emulator/pull/1721)

## Fixed
- [main] Fixed bug where opening a chat via URL was sending two conversation updates in PR [1735](https://github.com/microsoft/BotFramework-Emulator/pull/1735)
- [main] Fixed an issue where the Emulator was incorrectly sending the conversation id instead of an emulated OAuth token in PR [1738](https://github.com/microsoft/BotFramework-Emulator/pull/1738)

## v4.5.2 - 2019 - 07 - 17
## Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/app/main/src/commands/oauthCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class OauthCommands {
if (!convo) {
throw new Error(`oauth:send-token-response: Conversation ${conversationId} not found.`);
}
await convo.sendTokenResponse(connectionName, conversationId, false);
await convo.sendTokenResponse(connectionName, token, false);
}

// ---------------------------------------------------------------------------
Expand Down

0 comments on commit f13fca5

Please sign in to comment.