Forum Discussion

MykolaMedynskiy's avatar
MykolaMedynskiy
Copper Contributor
May 25, 2022

MS Teams oAuth Prompt Customization

Hey everyone,

 

We are using standard Botbuilder SDK for Node.js and specifically the botbuilder-dialogs package which provides us with OAuth prompt dialog which uses the botbuilder-core OAuth card, here is the interface:

 

We need to customize this card with some elements like other buttons, columns, images, and other adaptive card elements. But it does not seem possible straight from the definition.

 

So here are the questions we have:

  1. Is it possible to do the required customizations to the OAuth Card?
  2. or as an alternative, is it possible to use the "signin" action directly in the adaptive card which is easily designable?

We already tried putting "signin" action directly into the adaptive card but it's not being rendered by MS Teams. And we already tried sending the adaptive card with OAuth content-type – same behavior.

 

Thanks

Resources