SameSite none disappointment

Highlighted
Shopify Expert
4182 29 402

So February 17th is coming. I test my App in Chrome 80 with the flags for samesite none set..

 

I check my cookies, they render with secure and samesite: none as they should for that browser, yet the window/iframe comes up blank.

 

So I guess I just tell all my customers on Chrome that complain to FOFF and that is that. Use Firefox or die. Haha. Great. Thanks for all the help Shopify with this wonderful iframe embedded App world.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Highlighted
Shopify Expert
4182 29 402

Turns out most of the turds stem from Rack. Something in new Rack is killing the old iframe Shopify code. So I hacked Rack itself, to buy myself more time to see what Shopify will be offering us to alleviate all this iframe based pain.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Highlighted

Are you using the Shopify app gem? Which version are you seeing problems with?

I was testing 11.7 with https://www.chromium.org/updates/same-site/test-debug#TOC-Enable-the-new-SameSite-behavior  these flags a few weeks ago and it seemed to work.

0 Likes
Highlighted
Shopify Expert
4182 29 402

I don't use the Shopify App gem. I use Sinatra and other gems though. It seems Rack has some new behavior that slaughters old code. So my six-year-old code has run into many walls, from Shopify, Safari, Chrome, and now Rack...

 

I might just have to throw in the towel and switch to Rails for the future, but then Shopify says they are doing away with the whole iframe App bit, so what does that mean anyway? I would miss Sinatra as it deploys in < 15 seconds, whereas Rails is fricking pokey mammoth at over a minute.

 

The problem with Rack > 2.0.8, say 2.1 series is is cuts of the Shopify JS, and partials. So when viewing my App, it is completely botched. Why would Rack do that? Well, apparently there was a lot of loosy goosy going on they tightened up, and all of a sudden, my old App is unable to render properly. Cannot waste anymore time on this.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes