I have some functionality I am trying to build where I see whether or not the current user is authenticated, and fire some events based off that logic. I was planning on using secure_customer_sig to see whether or not it is set, and then firing / not firing those events.
However, I have now learned secure_customer_sig is HttpOnly, so I cannot read it from the client.
I need no customer data, I just want to know if they are authenticated or not. Is there any way to do this from JS?
@justinGP how are your users authenticated?
Do they use a web form to sign in with an email, password combo?
Or do they simply visit your store in the browser?
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022