It would be great if Shopify included an authenticated customer’s token in app proxy requests when the customer is logged in to the Online Store.
This would allow apps to make Storefront API requests on the backend within the authenticated customer’s context without having to initiate a separate authentication flow.
Similar functionality is already available in customer account and checkout UI extensions, where we can obtain a session token and make authenticated requests to the app backend.
Potential use cases:
-
B2B pricing and catalogs: Fetch company-specific pricing, volume pricing, and product availability.
-
Personalized product recommendations: Recommend products based on the customer’s available catalog and pricing.
-
Custom cart functionality: Create and manage carts within the authenticated customer’s context.
-
External integrations: Integrate ERP, PIM, and other external systems with customer-specific Storefront API data.
This would unlock numerous storefront app use cases, reduce authentication complexity, and provide a seamless customer experience by leveraging the existing authenticated customer session.
Are there any plans to support this functionality in app proxy requests?