-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: [web/desktop] Teams AI OAuth bot displays the consent dialog again if we navigate away to another chat come back #1932
Comments
Hi @corinagum The partner is currently experiencing an issue where a continuous OAuth sign-in prompt appears even after a successful login attempt. Could you please let me confirm if there is a bug regarding this flow ? I suggested partner to utilize the end dialog context but it didn't help. |
@aacebo has been running into similar issues just on Windows with teams-ai and non-team-ai bots, so we are investigating which team to contact about this. |
@singhk97 has raised an issue around this: #1933 (comment) |
hello @corinagum could you please share if there is any update on this issue ? |
Hi @PjPraveenkumar we have this in the backlog and plan on tackling it in the coming 1-2 weeks |
This seems to be a Teams Client issue ... which is out scope of the SDK. |
Bug has been reported to teams client team internally. |
This comment was marked as outdated.
This comment was marked as outdated.
Apologies for the confusion everyone. This issue is still being investigated by the Teams client team and is not fixed alongside the issue linked above. Reopening this one and will report when there are developments. |
For anyone tracking this bug, we are looking for more information. Is anyone able to confirm that sign in is failing when the pop-up reappears, or that subsequent invokes to the bot are failing? If yes, please provide code snippets as well as info on the network trace(s) where invokes / signin fail. Thanks! |
this was a bug in the teams client that has since been resolved |
Language
C#
Version
latest
Description
The Teams AI OAuth bot displays the consent dialog again if we navigate away to another chat and then return to the OAuth bot chat, even though consent has already been provided. please refer below snap,
code snippet:
`app.Authentication.Get("graph").OnUserSignInSuccess(async (context, state) =>
{
// Successfully logged in
await context.SendActivityAsync("Successfully logged in");
await context.SendActivityAsync($"Token string length: {state.Temp.AuthTokens["graph"].Length}");
await context.SendActivityAsync($"This is what you said before the AuthFlow started: {context.Activity.Text}");
});'
Consent dialog again pops up:
Reproduction Steps
The text was updated successfully, but these errors were encountered: