Open gautam990 opened 1 month ago
any suggestion on this ?
I've had the component successfully load on Chrome on a mobile device. If your mobile browsers are configured to block third party cookies, it is possible that token acquisition using a hidden iframe is blocked.
To overcome this issue (assuming that this is indeed the underlying issue!), the component can acquire a token by redirecting the user to a login page. This will still support SSO but will have some detrimental impact on user experience.
You will have to amend the code yourself to support this, but here is where to start:
What sample tool are you using? SharePoint SSO component
Describe the bug We have embedded the bot to SharePoint site and its working fine but when we open it in mobile copilot is loading indefinitely. Its not able to authenticate user .
To Reproduce Steps to reproduce the behavior:
ERROR contentSourceFilter is not supported on narrow screen devices LOG InteractionRequiredAuthError: no_tokens_found: No refresh token found in the cache. Please sign-in. LOG BrowserAuthError: monitor_window_timeout: Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.
Expected behavior Co-pilot should be ready to use in mobile
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.