I configured the SSO in PVA but when accessing the chatbot both in teams and in an online page, the user is directed to a new page where he needs to copy a token and inform it in the body of the BOT, I would like the SSO to be imperceptible to the user, both in Teams and in the page.
Hi @DiegoPeres ,
Did you follow the steps listed here to set up SSO for web and Teams?
Please note that SSO for web only works for custom canvas and not the out of the box iFrame provided in PVA. Teams SSO also requires extra configurations in the app manifest to take effect.
Check that even you have followed the references to configure and enable SSO on your bot, when you open your custom page that hosts your bot, you can see log in button on top right corner:
On given sample, that button would call onSignInClick function.
So you can try editing your custom code to call that function on onLoad event, for example:
After that, when you just open custom page, it will pop up the log in (make sure to allow your page on pop up blocker) and then make SSO:
Hello, @micchow Yes I did the setup exactly as in the documentation but it still asks for confirmation with a token code.
About the Web, I am using the custom code, that MS provides in the configuration page.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.