microsoft / botbuilder-dotnet

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
https://github.com/Microsoft/botframework
MIT License
878 stars 484 forks source link

Support Sso for SharePoint bot ACEs #6755

Closed GrahamMcMynn closed 8 months ago

GrahamMcMynn commented 8 months ago

Fixes This change allows SharePoint Bot Driven Aces to use SSO.

Description

Currently a bot driven ace in SharePoint can only use the magic code flow. This flow is not ideal as it requires a user to copy and paste a code from a different window or at a minimum we get flicker of the window being shown. This change allows us to use the SSO flow so that not authentication prompts are shown.

minor

Specific Changes

Adds a new cardExtension/token activity for doing a token exchange.

Testing

Used a debug string in SharePoint and copied the bot builder bits locally to produce a bot running on ngrok.