Forum Discussion
BazVanDenDungen
May 20, 2022Copper Contributor
How do I get my teams bot to authenticate to a web service
I have a teams bot which I want to use as an interface for my service stack webservice however the token I have access to is not being accepted by the web service. I followed the "AAD SSO for ta...
Sayali-MSFT
Microsoft
BazVanDenDungen-When a user asks the bot to do something that requires the bot to have the user logged in, the bot can use an OAuthPrompt to initiate retrieving a token for a given connection.When you start an OAuth prompt, it waits for a token response event, from which it will retrieve the user's token.
Ref Doc:-Add authentication to a bot in Bot Framework SDK - Bot Service | Microsoft Docs
Sayali-MSFT
Jun 22, 2022Microsoft
Could you please confirm if your issue has resolved with above suggestion or still looking for any help?
- BazVanDenDungenJun 29, 2022Copper Contributor
Sayali-MSFT We were able to resolve our issue thanks