Analisando propostas

Safari Iframe Cookie Issue

Publicado em 17 de Janeiro de 2024 dias na TI e Programação

Sobre este projeto

Aberto

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?

Contexto Geral do Projeto

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.

Categoria TI e Programação
Subcategoria Programação
Qual é o alcance do projeto? Bug ou alteração pequena
Isso é um projeto ou uma posição de trabalho? Um projeto
Tenho, atualmente Eu tenho especificações
Disponibilidade requerida Conforme necessário
Funções necessárias Desenvolvedor

Prazo de Entrega: Não estabelecido

Habilidades necessárias

Outro projetos publicados por D. W.