microsoft / microsoft/CopilotStudioSamples

SharePoint SPFx Extension Canvas app login prompt is blocked while using Safari browser in both MacOS and iOS devices

Open
#291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
797
Forks
491
PR merge metrics
No merged PRs in 30d

Description

Following this guide https://github.com/microsoft/CopilotStudioSamples/blob/master/SharePointSSOComponent/SETUP.md in creating a SPFx extension canvas app component to interact with the copilot agent chatbot. Using the provided sample code, when a user clicks on the button a window will pop up in the attempt to connect with the copilot agent. If its the first time logging in, there will be an additional login prompt that pops up. However while on the Safari browser when a user clicks the button, the login prompt is blocked. This also happens on Safari iOS. While there is a work around for this issue, involving changing the Safari browser settings. It is not feasible for my use case, some of these settings are blocked on the phones that will be using this feature. Is there a way for this issue not happen without changing the devices browser settings?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with SharePointSSOComponent/SETUP.md and the provided sample code, then reproduce the first-time login flow on Safari for macOS and iOS. Trace where the authentication popup is opened and document whether the flow can complete without changing browser settings; done means the login prompt works on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, mobile-dev, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.