Skip to content

Files

Latest commit

c389861 · Jan 21, 2022

History

History

Bot.Builder.Community.Components.TokenExchangeSkillHandler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 11, 2021
Jun 11, 2021
May 11, 2021
May 11, 2021
May 11, 2021
May 11, 2021
May 11, 2021
Jan 21, 2022

readme.md

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"
  },