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

[Skills] TrustServiceUrl from original conversationReference in SkillHandler #1586

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

stevengum
Copy link
Member

Fixes #1580 in 4.7

Description

Add AppCredentials.trustServiceUrl() call in SkillHandler to trust serviceUrl that was received in message from channel.

This allows for all instances of the parent bot to fetch a token when it attempts to forward the activity from the Skill to the User (via the use of the SkillHandler class).

Additional Context (C#)

Testing

Manually tested by having one parent bot use the endpoint of the second parent bot as the serviceUrl for activities sent to the skill.

Added specific unit test for verifying the serviceUrl is trusted after SkillHandler.processActivity() is run.

@stevengum stevengum added the P0 Must Fix. Release-blocker label Jan 16, 2020
@stevengum stevengum self-assigned this Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Must Fix. Release-blocker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants