Customer object is not accessible even if user is logged in

I’m developing a Shopify website, and I use an Iframe where I put a shopify customer id (customer is logged in).. For 3-4 days everything is okay, the user is logged in and Iframe works as it should.. But after that, even if user is logged in, customer object is not getting retrieved even on shopify widgets and I cannot access it from Liquid.. The only thing that helps is log off and log in back..
I have already checked everything that might influence on shopify session persistence and found nothing that might play any role with that..

1 Like