Closed BriscoGit closed 3 weeks ago
Thank you for reporting this, we will check this and get back to you.
@BriscoGit - We tested this sample at our end, and it is working fine. We did not get any verification code popup. Would it be possible for you to share a repro video of this?
Hi, sorry for the late response!
Issue seems to have been fixed in the meanwhile. Its working in my environment now!
Thank you for your time.
Done
Hello!
I have been trying to integrate the SSO authentication into my Azure Bot using this repository as a guideline: [https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python]
Unfortunately I have been stuck with an issue that is only occuring in Teams. The Bot will send me an adaptive card with a button to sign in: Clicking on the button opens a popup window with a Microsoft Login screen. Logging in with my Microsoft account causes a new popup to open that contains the Verification Code for the authentication, which has to be pasted into the chat with the bot.
While this process works in the Webchat, in Teams this popup closes after 0.5-1s making it impossible to copy the code. Clicking again on the button shows this message: (Sign-In Code is invalid or expired. Ask the bot to send a new sign in link)
I have been able to reproduce this issue in the Webchat by simply also closing the popup with the authentication code, causing the same error message to appear.
Can you look into this issue or is there a known fix?
Thank you! BR, Marvin
Steps to reproduce: