You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the four variables above with the appropriate values
Save the page
Run a web server (e.g. python -m http.server or a nodejs server that integrates CORS)
Open the page
Expected behavior
The authentication window is shown which, instead, does NOT show up; instead, the embedded copilot says "connecting..." for half a second, followed by the "Unable to connect" error
I tried adding the following instruction at the beginning of "async function main()" as suggested by the article, but the behaviour is the same if (clientApplication.getAccount() == null) { await clientApplication.loginPopup(requestObj).then(onSignin).catch(function (error) {console.log(error) }); }
popups are enabled
The text was updated successfully, but these errors were encountered:
What sample tool are you using?
3.single-sign-on
https://github.com/microsoft/CopilotStudioSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html
Describe the bug
after editing the page to fill the four variables
, I get the following result showing that the copilot can’t connect:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The authentication window is shown which, instead, does NOT show up; instead, the embedded copilot says "connecting..." for half a second, followed by the "Unable to connect" error
Screenshots
Please check the screenshot above
Additional context
if (clientApplication.getAccount() == null) { await clientApplication.loginPopup(requestObj).then(onSignin).catch(function (error) {console.log(error) }); }
The text was updated successfully, but these errors were encountered: