Skip to content

Add support for SSO to parent and child bot projects for manual testing #3489

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

Merged
merged 4 commits into from
Mar 7, 2020

Conversation

swagatmishra2007
Copy link
Member

  • Add support for SSO to parent and child bot projects for manual testing
  • Fixed a minor bug in oauthprompt

await this.SendInvokeResponseAsync(
turnContext,
cancellationToken,
HttpStatusCode.BadRequest,
Copy link
Member

@carlosscastro carlosscastro Mar 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please confirm with @Jeffders that we can remove this. #Resolved

cancellationToken);

// Check response status: true if success, false if failure
var success = response.Status >= 200 && response.Status <= 299;
Copy link
Member

@carlosscastro carlosscastro Mar 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IsSuccessstatusCode #Resolved

@carlosscastro
Copy link
Member

carlosscastro commented Mar 4, 2020

Approved but please check in person with @Jeffders as of why he added that codepath. The fact that there is a test indicates that it is on purpose, so there might be some scenario that we are missing. #Resolved

ConnectionName = _settings.ConnectionName,
FailureDetail = "The bot received an InvokeActivity with a TokenExchangeInvokeRequest containing a ConnectionName that does not match the ConnectionName expected by the bot's active OAuthPrompt. Ensure these names match when sending the InvokeActivityInvalid ConnectionName in the TokenExchangeInvokeRequest",
}).ConfigureAwait(false);
}
Copy link
Member Author

@swagatmishra2007 swagatmishra2007 Mar 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert #Resolved

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.

2 participants