Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

IsSkill property in Composer Settings #4501

@srinaath

Description

@srinaath

The isSkill property in Composer is used to instantiate the claimsValidator in the dotnet runtime. We would now need to instantiate the claimsValidator now irrespective o whether its a root bot or a skill.

Runtime Code in contention
https://github.com/microsoft/BotFramework-Composer/blob/main/runtime/dotnet/azurewebapp/Startup.cs#L139

Commit that made us require claimsValidator for RootBot and Skill
microsoft/botbuilder-dotnet@29bb50c#diff-15f1db8a3f5f08eae9ca0a2d5bb991f0e5e269584f3c882720a7b84bf850c08b

##Solution
One solution is to still hold on to the isSkill property to indicate whether in RootBot or Skill context. Instantiate the claimsValidator irrespective of RootBot or Skill

@cwhitten @carlosscastro

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions