Skip to content

Latest commit

 

History

History

Bot.Builder.Community.Components.TokenExchangeSkillHandler

Token Exchange Skill Handler for Composer and Adaptive Dialog Bots

Build status

Branch Status Recommended NuGet package version
master Build status NuGet version

Prerequisite Setup

Create the Azure AD identity for SkillBot

Create the Azure AD identity for RootBot

Description

This package extends Bot Framework Composer with a CloudSkillHandler BotComponent for enabling Single Sign On Token Exchange between a root bot and skill bot.

The following new component is in this package:

Actions Description
TokenExchangeComponent Installs the TokenExchangeSkillHandler.

Installation

This package can be installed from composers Package Manager screen. Just select the package from the list and click install.

Package Manager

Usage

Once installed you should find a Bot.Builder.Community.Components.TokenExchangeSkillHandler in the Components section of the config. Ensure there is also a root level section titled "Bot.Builder.Community.Components.TokenExchangeSkillHandler", with useTokenExchangeSkillHandler set to true and the proper Root Bot Oauth TokenExchangeConnectionName:

  "runtimeSettings": {
    "components": [
      {
        "name": "Bot.Builder.Community.Components.TokenExchangeSkillHandler",
        "settingsPrefix": "Bot.Builder.Community.Components.TokenExchangeSkillHandler"
      }
    ],
    ...
  },
  "Bot.Builder.Community.Components.TokenExchangeSkillHandler": {
    "useTokenExchangeSkillHandler": true,
    "tokenExchangeConnectionName": "YourTokenExchangeConnectionName"
  },