I have an OAuthPrompt
prompting a user to Login in Microsoft Teams. Previously I had an issue where the Login button would not open an external link prompting the user with a manual login. This was solved by adding some information to the manifest, following this post: https://github.com/Microsoft/BotBuilder-Samples/issues/707. The issue that I am now facing is that certain users when attempting to login get a bad request after they type in their email and password. I'm not sure why this is happening. Could I get some information about which users this should work for? Perhaps it is because they are not owners of the web app bot? I am using Bot Framework SDK v4 if that matters.
Edit: The way that I am prompting the user with the built in OAuthPrompt
is as follows:
return new OAuthPrompt(
"loginPrompt",
new OAuthPromptSettings
{
ConnectionName = connectionName,
Text = "Please login by pressing the button below...",
Title = "Login",
Timeout = 300000, // User has 5 minutes to login
});
Here is how that renders in teams and the url it sends to: OAuthPrompt teams render