Forum Discussion
usman9012
Dec 27, 2021Copper Contributor
How can open sign in dialog inside the ms team
I am trying to create custom app through bot framework i want to open sign in dialog box inside the ms teams but i don't know how can i do this every time when i click on link sign in page open in t...
Dec 28, 2021
I'm not an expert, but the Action.OpenUrl type that you use, will always open the default browser so this is expected behavior. I think you need to change this to "type": "signin",
Here are some links that might help you:
- https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-actions?tabs=json&WT.mc_id=M365-MVP-5003400#action-type-signin
- microsoft/BotBuilder-Samples: Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Bot Framework SDK! (github.com)