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?
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" ]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.