Bypass validation code insertion in Teams bot authentication

Hasit Parmar 0 Reputation points
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.
822 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,186 questions
{count} votes

Your answer

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