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

port: [#3943] Add ShowSignInLink to OAuthPromptSettings (#5906) #4157

Conversation

ceciliaavila
Copy link
Collaborator

Fixes #3943

Description

This PR ports the changes in BotBuilder-DotNet's PR#5906 to add the showSignInLink property in OAuthPromp allowing the user to decide if a sign-in link should be shown or not.

Specific Changes

  • Updated oauthPrompt.ts to include the showSignInLink property and the validation to set the sign-in link.
  • Added unit tests in oauthPrompt.test.js to cover the different test cases.
  • Updated botbuilder-dialogs.api.md to include the new property.

Testing

This image shows the new unit tests passing.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner March 11, 2022 19:14
@coveralls
Copy link

coveralls commented Mar 11, 2022

Pull Request Test Coverage Report for Build 1970573738

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 84.556%

Totals Coverage Status
Change from base Build 1955117631: -0.2%
Covered Lines: 19670
Relevant Lines: 22037

💛 - Coveralls

@mrivera-ms mrivera-ms merged commit c32ebda into main Mar 11, 2022
@mrivera-ms mrivera-ms deleted the southworks/port/add-show-sign-in-link-to-oauth-prompet-settings branch March 11, 2022 21:43
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.

port: Add ShowSignInLink to OAuthPromptSettings (#5906)
4 participants