microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 340 forks source link

Error on iOS Safari (Webkit) as Entra ID B2B Guest User #4096

Open Stressf1sh opened 1 week ago

Stressf1sh commented 1 week ago

Version used 4.13.1

Describe the bug Eventhough Safari is officially not supported, the "PnP Modern Search Webparts" work perfectly fine for licensed users in Safari (Mac OS/X, iOS iPad and iPhone). However, as a guest user, the "PnP Modern Search Webparts" through the following exception in Safari for iOS.

To Reproduce Detailed steps to reproduce the behavior:

  1. Open SPO page where webparts are embedded with a b2b guest user account
  2. Exception thrown

Expected behavior Working PnP Modern Search Webparts for Entra ID B2B guest user.

Screenshots IMG_0012 image

Desktop (please complete the following information):

till-llit commented 3 days ago

is this maybe related to guest user permissions to the global app catalog and not related to the the browser? i see one 404 error in your log while accessing the app catalog.

you might want to check if you are already using a public cdn (if not: activate it!) or can enable everyone read access to the app catalog (default: "everyone except external users")

Stressf1sh commented 3 days ago

Guest users have access to the AppCatalog site collection. Actually, the webparts work perfectly fine for guest users on any other platform than iOS. No issues on Mac OS/X, iPad OS, ...

wobba commented 2 days ago

From the error message you have 404 errors on some ClientSideAssets and some require loading issues. If you know how to solve this or any pointers to information please share. You could try to enable public CDN and see if that helps.