-
Notifications
You must be signed in to change notification settings - Fork 494
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
Conversation
swagatmishra2007
commented
Mar 4, 2020
- 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, |
There was a problem hiding this comment.
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
tests/Skills/Parent/ParentBot.cs
Outdated
cancellationToken); | ||
|
||
// Check response status: true if success, false if failure | ||
var success = response.Status >= 200 && response.Status <= 299; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsSuccessstatusCode #Resolved
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); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert #Resolved