Evaluating bids

Safari Iframe Cookie Issue

Published on the January 17, 2024 in IT & Programming

About this project

Open

I have a multi tenant application and some of my customers embed their tenant's website into iframes on their own websites.

Their tenant websites require users to login, therefore, cookies need to be saved for the user's session on the browser.

However, on Safari the cookies can't be set by their tenant's website.

For instance: customer's website (customer.com) embeds tenant's website (tenant.mydomain.com) into an iframe.

I have tried a lot of different things:

1 - Not working: warming up the tenant.mydomain.com before loading into the iframe (http://vitr.github.io/safari-cookie-in-iframe/)

2 - Not working: using postMessage (https://stackoverflow.com/questions/9930671/safari-3rd-party-cookie-iframe-trick-no-longer-working/13887769#13887769)

3 - Not working: having the user to click on a button to request storage access (https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess)

Do you have a way to make this work?

Project overview

I have a multi tenant application and some of my customers embed their tenant's website into iframes on their own websites. Their tenant websites require users to login, therefore, cookies need to be saved for the user's session on the browser. That does not work when using Safari.

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Roles needed Developer

Delivery term: Not specified

Skills needed

Other projects posted by D. W.