Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [SSO] Remove 'exchangeToken' validation from OauthPrompt #4138

Merged
merged 3 commits into from
Mar 11, 2022

Conversation

ceciliaavila
Copy link
Collaborator

Fixes #4137

Description

This PR removes an outdated validation for token exchange that was causing the exchange between root and skill bots using CloudAdapter to fail.
This validation was already removed from .NET implementation in this commit.

Detailed Changes

  • Updated oauthPrompt' recognizeToken method removing validation for 'exchangeToken'.

Testing

Here we can see a root and a skill bot properly exchanging the token.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner March 2, 2022 12:18
@coveralls
Copy link

coveralls commented Mar 2, 2022

Pull Request Test Coverage Report for Build 1971200559

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 84.561%

Totals Coverage Status
Change from base Build 1971162915: 0.004%
Covered Lines: 19671
Relevant Lines: 22037

💛 - Coveralls

@mrivera-ms mrivera-ms merged commit 2e31329 into main Mar 11, 2022
@mrivera-ms mrivera-ms deleted the southworks/fix/oauthprompt-token-exchange-validation branch March 11, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SSO] Remove 'exchangeToken' validation from OauthPrompt
3 participants