Hi, I’m having an issue with the customer account login that started yesterday. Here’s what’s happening:
I visit the store and log in using the PIN method (new customer account experience). After logging in, I’m correctly redirected to the customer account - specifically to the Orders page. Then, when I click on the store logo to go back to the storefront, I get the error shown in the attached screenshot.
It looks like some kind of customer authentication issue - even though I’m already logged in?
To return to the storefront, I have to go back to the Orders page and click the logo again. The second time it works, but there’s something strange: in my Liquid templates, I use {% if customer %}
to show customer-only elements, and they don’t appear - even though I’m clearly logged in.
This is a pretty big issue for us - I’d really appreciate your help or insights if anyone else is seeing this too.
Here is a fragment of my URL:
/customer_authentication/callback?source=core&code=
One extra detail: I’m currently running an A/B test with Intelligems, comparing two versions of the navigation menu. Could this test be interfering with customer authentication?
Thanks in advance!
EDIT:
I tried to use <a href="{{ routes.storefront_login_url }}" class="button grey">Sign In</a>
on the preview theme but it doesn’t work either. This time I see this: