Embedding in Safari

Nate Agrin · Friday Demos · January 12, 2024 · 3:41

Embedded support for Safari, handling more restrictive cookie-ing in the browser

Try it yourselfThe full week on docsadministrationembed

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I have a quick one hang on my voice is not going to be amazing for the demo video um okay I assume this is all visible yeah we see it yep we see your desktop yeah this is just embed SS so in Chrome and like obviously it works the way I expect it to um this is in Safari so Safari has these really strict security parameters around third party cookies uh so just like our private embed now you're presented with this flow where unfortunately you're required to click this button many times but basically jumps you here this is part of the handshake process that's behind the scenes setting a special cookie to prove that you're a user who actually intended to visit the site then

  2. you click allow access allow and boom so now once you've done all that I can refresh the page and uh we have to present that little interstitial because the way that Safari's thirdparty cookie authorization works it only works on the client there's nothing we can send to the backend to validate whether the incoming request is already um validated the cookies but basically what happens is we present something in the browser the browser very quickly evaluates whether it has access to third party cookies and as soon as it does redirects to the logged in um SSO dashboard nice and Nate can you remind me how long how long does this stick around in terms of like once the customers click the three buttons are they obviously

  3. in the same browser are they good for a long time yeah it's I haven't ever found a formal specification anywhere um it seems to be as long as you don't clear your history so as soon as you clear your history which seems to be the only user-facing way to revoke that setting now this is presented again um yeah so as far as I know it's indefinite unless they clear their history cool thanks for thanks for jumping on this and also talking the customer through it I uh I know it was a bit of a scramble and you did a nice job uh interfacing with them yeah that was a great message um is oh sorry I would I would love to get it out today

  4. if possible because then i' be a nice uh followup of you know overd delivering yep um it do people need to do the same thing on iPhones uh basically I think the answer is yes but okay I haven't played with it recently yeah definely onar iPhone okay yeah I Safari on my iPhone thanks for chasing that down no problem