Reputation: 1007
I try to get the Authentication Sample Bot to work. When I use the Bot in Microsoft Teams, the OAuthPrompt
seems to render correctly:
but when I click the button, nothing happens. I see this in the console:
Why doesn't this work?
Upvotes: 1
Views: 619
Reputation: 1007
Just creating an Azure Bot Service 'Bot Channels Registration' is not enough to use bot authentication with Microsoft Teams. You have to have a manifest file zipped and uploaded as a custom app into Microsoft Teams. In that manifest file you have to specify the domain of the Bot Framework token endpoint:
"validDomains": [ "token.botframework.com" ]
Upvotes: 1