Shopify Checkout Auto Login

Topic summary

A developer is encountering issues implementing auto-login functionality for Shopify checkout in a Flutter app. They are attempting to use a webview to load the Shopify checkout page with the X-Shopify-Customer-Access-Token header to automatically authenticate customers, but the implementation is not working as expected. The post includes a code snippet showing their approach of adding the customer access token to the headers when loading the checkout URL. This appears to be an unresolved troubleshooting request seeking guidance on proper implementation of checkout auto-login in a custom Flutter storefront.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

I am using flutter to develop an app. I tries to add X-Shopify-Customer-Access-Token to get auto login at checkout but It is not working. Please note that I am using webview to load checkout page of shopify on flutter.

// load checkout page url
headers: {
"X-Shopify-Customer-Access-Token": token ?? ''
}