Skip to content
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

useing OAuthPrompt but teams are not responding #1421

Open
MDZZ3 opened this issue Oct 11, 2024 · 11 comments
Open

useing OAuthPrompt but teams are not responding #1421

MDZZ3 opened this issue Oct 11, 2024 · 11 comments
Assignees

Comments

@MDZZ3
Copy link

MDZZ3 commented Oct 11, 2024

problem description:
after starting,enter any text,I think the expected effect should be like this
image

microsoft teams will pop up a continue button to allow us to authoize,but now teams is not responding
image

We tried many time but still it`s like this,can you please help me solve it? thanks

ps:web chat can log in normally
image

Examples of use:https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/nodejs

@Nivedipa-MSFT
Copy link
Collaborator

@MDZZ3 - Thanks for reporting your issue. We will check this and update you soon.

@MDZZ3
Copy link
Author

MDZZ3 commented Oct 12, 2024

@Nivedipa-MSFT ok, thanks

@Nivedipa-MSFT
Copy link
Collaborator

@MDZZ3 - We are able to repro your issue. We have informed sample team to investigate further. We will let you know once we get any updates from them.

@MDZZ3
Copy link
Author

MDZZ3 commented Oct 14, 2024

@Nivedipa-MSFT thanks,hope the reason can be found out soon,because our teams bot fails to allow users to log in successfully due to this problem

@Nivedipa-MSFT
Copy link
Collaborator

@MDZZ3 - The Sample team is working on it. We will let you know once we get any updates from them.

@MDZZ3
Copy link
Author

MDZZ3 commented Oct 16, 2024

@Nivedipa-MSFT ok

@AndroMsd
Copy link

AndroMsd commented Oct 20, 2024

Same issue with the .net samples. Is the issue located on samples that are outdated or is it a bug somewhere inside the bot framework ?
If it's an issue with the samples, would be awesome if someone can show me an actual working example. Thanks in advance.

@Nivedipa-MSFT
Copy link
Collaborator

@MDZZ3, @AndroMsd - The sample team is working on the bot-teams-authentication sample to fix the issue. Meanwhile, could you please try this similar sample?
Microsoft-Teams-Samples/samples/bot-conversation-sso-quickstart/js at main · OfficeDev/Microsoft-Teams-Samples

@jomalsan
Copy link

jomalsan commented Oct 29, 2024

+1 on the sample not working. Commenting to get updates when they are posted. A few things I noticed:

  • The README does not include directions on setting up a bot oAuth provider
  • The manifest.json file uses the same <<YOUR-MICROSOFT-APP-ID>> marker for the teams id and the bot id. I believe these need to be different
  • Trying to run the sample I get the error: PermissionError: Failed to get access token with error: unauthorized_client, error_description: AADSTS700016: Application with identifier 'db**' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID: ee** Correlation ID: d1**Timestamp: 2024-10-29 19:14:02Z, which looks to be that the sample is not taking a tenant id

@MDZZ3
Copy link
Author

MDZZ3 commented Nov 7, 2024

@Nivedipa-MSFT Now that I run this js sample(https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js) and our program has returned to normal, has anything been updated? thanks

@Nivedipa-MSFT
Copy link
Collaborator

@MDZZ3 - No, there is no update in this sample. It is functioning as it did previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants