-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
I can develop skills in Emulator without an app password #5726
Labels
Area: Authentication
The issue is related to authenticating users (SSO, OAuth, etc.)
Area: Skills
The issue is related to skills
feature-request
A request for new functionality or an enhancement to an existing one.
P1
Painful if we don't fix, won't block releasing
Size: L
The issue is complex but it is well understood, it will take 4 to 8 days to complete
Comments
clearab
added
P2
Nice to have
and removed
P1
Painful if we don't fix, won't block releasing
labels
Feb 6, 2020
This has implications for generating the callerId (see microsoft/botbuilder-dotnet#3753) |
Yeah, we'll probably need to have an new IRI for the Emulator |
6 tasks
gabog
added
feature-request
A request for new functionality or an enhancement to an existing one.
P1
Painful if we don't fix, won't block releasing
draft
The issue definition is still being worked on and it is not ready to start development.
and removed
P2
Nice to have
labels
Sep 11, 2020
gabog
added
the
Size: L
The issue is complex but it is well understood, it will take 4 to 8 days to complete
label
Sep 17, 2020
gabog
changed the title
Developing skills without an app password
I can develop skills in Emulator without an app password
Sep 29, 2020
gabog
added
the
Area: Authentication
The issue is related to authenticating users (SSO, OAuth, etc.)
label
Oct 2, 2020
This was referenced Oct 2, 2020
Closed
gabog
removed
the
draft
The issue definition is still being worked on and it is not ready to start development.
label
Oct 15, 2020
dotnet, JS and Python are done, Java will be done in a future release |
Java merged today |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Authentication
The issue is related to authenticating users (SSO, OAuth, etc.)
Area: Skills
The issue is related to skills
feature-request
A request for new functionality or an enhancement to an existing one.
P1
Painful if we don't fix, won't block releasing
Size: L
The issue is complex but it is well understood, it will take 4 to 8 days to complete
Scenario
As a developer, I need to be able to test by skill as a skill (not a stand alone bot) from the emulator without registering an app Id/password).
Background
Several sections of the bot framework code need to know if the activity being process is in a consumer bot or a skill bot. The code uses the claims extracted from the auth header to determine this and that requires that the consumer and the skill have an AppId and Password configured.
This causes friction for developers that are not quite ready to register the consumer or the skill as a bot.
Here are the places where we use SkillValidation.IsSkillClaim() in the framework code and samples:
Constraints
Solution
We introduced a new RoleType = "skill" that is set on the Recipient of the activity when an activity is sent from the consumer bot to a child bot through
BotframeworkHttpClient
.We also updated the auth logic in the framework to create a special claim for anonymous skill calls (see
SkillValidation.CreateAnonymousSkillClaim()
for details on the claim) that is set when there is no AuthHeader and the channel is Emulator.Component Impact
Tracking Status
Dotnet SDK 4752
Javascript SDK 2860
Python SDK 1396
Java SDK 809
The text was updated successfully, but these errors were encountered: