Bypass validation code insertion in Teams bot authentication

Anonymous
2024-07-22T11:04:36.2366667+00:00

I have created teams bot app involves third-party authentication and used Azure bot service "OAuth settings" with Generic oauth provider.

I have implemented the source code to generate signin url and initiate user authentication on button click in adaptive cards.

Then it asks me to enter validation code in teams chat window and then generate user access token with this magic code? I want kind of solution where users don't need to manually enter the magic code in Teams chat and automatically completes the user authentication.

Is this achievible without using bot framework sdk methods?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.