Hey @Alan_G ,
Thanks again for the detailed analysis, and sorry for the slightly delayed response as I was on leave.
Below are our answers, aligned with your questions and in the same sequence:
1. When does the error typically occur?
The behaviour is genuinely intermittent and not limited to a specific scenario. It can occur for:
-
Users logging in after being idle for a few hours and reopening the store in a new tab
-
Users logging in again on a different day, even if they logged in successfully before
-
Both fresh users and returning users
It is not strictly tied to first-time logins or brand-new sessions. When the error does appear, refreshing the page immediately resolves it and the login proceeds as expected.
2. Where is the Identity Provider hosted geographically?
As far as we are currently aware, the Identity Provider is most likely hosted in the EU and is built on Drupal by a separate team. I’m not 100% certain about the hosting details yet and will confirm this with the IdP team once they’re back from the holidays.
3. Can this be reliably reproduced by clearing cookies or using incognito mode?
No, this is not a reliable reproduction path.
I tested multiple times in incognito mode and was not able to reproduce the error there. In incognito:
-
After logout, clicking login always redirects to the Lannoo Passport login page
-
Credentials must be entered again every time
The intermittent error appears mostly in non-incognito sessions, where users are often logged in directly without seeing the login page.
4. Since when has this issue been happening?
It has most likely been present since the initial setup of the custom IdP. However, we only actively detected and started investigating it in the past month. Because the issue is random and doesn’t occur consistently, it’s difficult to pinpoint an exact start date.
5. Were there any changes on the IdP side around the time this began?
As far as we know, there were no changes on the IdP side around that time.
Regarding the ~1.1s response time you mentioned: that could indeed be relevant if it’s close to a timeout threshold. We’ve checked with the IdP team and they don’t see any unexpected error logs on their side beyond expected responses, which is why we currently suspect the issue may be related to Shopify’s redirect or fallback handling.
Due to the holiday period, IdP team members are currently unavailable, so I can’t fully confirm all details right now. I’ll validate anything that’s still uncertain once they’re back and follow up if needed. In the meantime, please feel free to continue investigating on your side.
This login flow is quite critical for us, so we’d really like to get this fully resolved before delivery. Thanks again for the support and investigation. Let me know what do you think?