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

Error "Unable to connect" when opening the page on SSO #243

Open
maurominella opened this issue Sep 4, 2024 · 0 comments
Open

Error "Unable to connect" when opening the page on SSO #243

maurominella opened this issue Sep 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maurominella
Copy link

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

  • clienID
  • authority
  • theURL
  • "My-custom-prefix"

, I get the following result showing that the copilot can’t connect:
image

To Reproduce
Steps to reproduce the behavior:

  1. Donwload the file https://github.com/microsoft/CopilotStudioSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html locally
  2. Replace the four variables above with the appropriate values
  3. Save the page
  4. Run a web server (e.g. python -m http.server or a nodejs server that integrates CORS)
  5. 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

Screenshots
Please check the screenshot above

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants