Login Issue During Shopify Checkout Extensibility Redirects

Hey everyone,

We’ve encountered a rather perplexing issue since migrating to Shopify Checkout Extensibility in our headless Next.js project.

The Problem:

  1. Initial State:

    • User logs in on the Next.js frontend.
    • Proceeds to checkout, remaining logged in on Shopify as expected.
  2. The Issue:

    • After returning to the frontend from checkout, the user remains logged in, as expected.
    • However, upon revisiting the checkout, the user is suddenly logged out.
    • Returning to the frontend, the user is still logged in.
    • Revisiting the checkout, the user is logged in again.
  3. Technical Details:

    • We’re using “multipassify” to redirect users from the Next.js frontend to the Shopify checkout.

Has anyone experienced a similar issue? Your insights would be greatly appreciated!

Thanks!