From the team review of #12 (#12 (comment)):
An expired or wrong auth token (header-based or setup-based) still fails as could not find element on an accounts.shopify.com/select page — the exact misleading failure shape #5 was opened about. Oxygen bypass tokens expire after 2h by default, so this will be hit routinely.
Ask: detect the auth-redirect case (the browser landed on a known auth/login origin different from baseUrl's) and report it as an auth failure naming the configured mechanism (the header name, or the setup block) instead of a missing-element error. This closes the loop on the original complaint in #5.
Related: PR #12 shipped headers + setup + phase-tagged errors, which gives the reporter the context needed to say this precisely.
From the team review of #12 (#12 (comment)):
An expired or wrong auth token (header-based or setup-based) still fails as
could not find elementon anaccounts.shopify.com/selectpage — the exact misleading failure shape #5 was opened about. Oxygen bypass tokens expire after 2h by default, so this will be hit routinely.Ask: detect the auth-redirect case (the browser landed on a known auth/login origin different from
baseUrl's) and report it as an auth failure naming the configured mechanism (the header name, or the setup block) instead of a missing-element error. This closes the loop on the original complaint in #5.Related: PR #12 shipped
headers+setup+ phase-tagged errors, which gives the reporter the context needed to say this precisely.