Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Implement TeamsSSOExchangeMiddleware and fixes to associated dependency areas. #1167

Merged
merged 3 commits into from
Apr 16, 2021

Conversation

LeeParrishMSFT
Copy link
Contributor

Fixes #1161

Description

Ported Code for TeamsSSOExchangeMiddleware

Specific Changes

Ported code for TeamsSSOExchangeMiddleware from the C# implementation. Also corrected issues with OAuthPrompt related to handling of TokenExchange, as well as CosmosDbPartitionedStorage issues which were causing a race condition in retrieving bot state.

Testing

TeamsSSO code was tested within the Teams Auth sample, along with the other changes made to Cosmos and OAuthPrompt.

@tracyboehrer tracyboehrer merged commit 0b972fb into main Apr 16, 2021
@tracyboehrer tracyboehrer deleted the lparrish/Issue1161 branch April 16, 2021 14:22
tracyboehrer pushed a commit that referenced this pull request Apr 16, 2021
…cy areas. (#1167)

* Implement TeamsSSOExchangeMiddleware

* Fixes for Cosmos, OAuthPrompt, and TokenExchange
tracyboehrer added a commit that referenced this pull request Apr 16, 2021
…cy areas. (#1167) (#1169)

* Implement TeamsSSOExchangeMiddleware

* Fixes for Cosmos, OAuthPrompt, and TokenExchange

Co-authored-by: Lee Parrish <30470292+LeeParrishMSFT@users.noreply.github.com>
tracyboehrer added a commit that referenced this pull request Apr 26, 2021
* Update main branch and readme.md version (#1153)

* Added snapshot support to parent POM (#1157)

* Corrected type and path of UserToken.exchangeToken (#1159)

* Update CODE_OF_CONDUCT.md

update to april 19th content

* [SDK][Recognizers-Text] Update temporal folder with latest changes (#1164)

* Update Datetime extractors

* Update Datetime resources

* Update Number resources

* Update NumberWithUnit resources

* Update NumberWithUnit extractors

* Update NumberWithUnit parsers

* Implement TeamsSSOExchangeMiddleware and fixes to associated dependency areas. (#1167)

* Implement TeamsSSOExchangeMiddleware

* Fixes for Cosmos, OAuthPrompt, and TokenExchange

* [SDK][Recognizers-Text] Add Recognizer-Text unit tests into the temporal Recognizer-Text folder in bot-dialogs library (#1168)

* Add timex-expression unit tests

* Add Specs folder

* Add datetime unit tests

* Add sequence unit tests

* Add number with unit unit tests

* Add number unit tests

* Add choice unit tests

* Add text unit tests

* Update bot-dialogs pom to use UTF-8 to execute unit tests correctly

Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>

* Support for Recognizer tests on MacOS. (#1173)

* Updated pom.xml to enable Jacoco output (#1175)

* Add additional unit test coverage (#1185)

* Activity Unit Tests

* additional unit tests

* Remove surefire entry from dialogs pom.xml

* Update surefire entry in pom.xml

* Additional tests and fixes.

* Additional unit tests and fixes.

* Additional tests

* Update pom.xml for release version.

* Fix surefire args

Co-authored-by: tracyboehrer <tracyboehrer@users.noreply.github.com>
Co-authored-by: Scott Gellock <scott.gellock@microsoft.com>
Co-authored-by: Martin Battaglino <martinbatta32@gmail.com>
Co-authored-by: Franco Alvarez <51216149+fran893@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

port: Add Teams SSO Token Exchange middleware (#5475)
2 participants