FROM CACHE - en_header

Using localStorage and sessionStorage in embedded app - now blocked

New Member
2 0 1


Chrome's 3rd party cookie blocking also prevents access to localStorage or sessionStorage. This basically means our app can't function in an embedded iFrame.

Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.

Do Shopify have a solution for this?



Replies 3 (3)
Shopify Partner
38 2 4

No, if you're using an embedded app there's no way around it. You'll have to find a workaround. Our app wouldn't get approved unless we removed it.

Apps not embedded don't have this issue.

New Member
2 0 1

Hi. Thanks for the reply. What was your work around?

New Member
2 0 0

i have the same issue, is there anybody knows how to solve it?