Forum Discussion

MykolaMedynskiy's avatar
MykolaMedynskiy
Copper Contributor
May 25, 2022

MS Teams oAuth Prompt Customization

Hey everyone,

 

We are using standard https://github.com/microsoft/botbuilder-js for Node.js and specifically the https://www.npmjs.com/package/botbuilder-dialogs package which provides us with OAuth prompt dialog which uses the https://www.npmjs.com/package/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

2 Replies

  • MykolaMedynskiy 

    Since the community has not yet responded to your post, you might want to seek assistance with other resources that are focused on tech support:

     

    • Ask your IT manager to open a support case or call Microsoft using the support line you were given.  Other options for business subscription admins are listed here:

    https://docs.microsoft.com/en-us/microsoft-365/business-video/get-help-support?view=o365-worldwide#:~:text=Online%20support%201%20Go%20to%20the%20admin%20center,contact%20method%2C%20and%20then%20select%20Contact%20me.%20

    https://support.serviceshub.microsoft.com/supportforbusiness/create

    • Additional tech support is available at https://support.microsoft.com/ or https://answers.microsoft.com/, where authorized Microsoft agents are available to trouble an issue until it’s resolved.

Resources