Check if customer is logged in

Topic summary

An app developer is encountering issues with customer authentication detection in Shopify stores using the new customer accounts system.

The Problem:

  • Their app previously checked login status and retrieved customer tags via the Polaris customer object through a theme app extension
  • This method no longer works with Shopify’s new customer accounts
  • Even standard theme code cannot detect if a customer is logged in or access basic customer data like names

Technical Context:

  • While apps can use the StoreFront API with session tokens to retrieve customer data, this solution doesn’t apply here
  • The login occurs through the store’s native login form, which doesn’t provide a session token to the app

Status: The discussion remains open with no solution provided yet. One user is following the thread, indicating others face similar challenges.

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

I have an app that checks if the customer is logged in and get the customer tags from the current customer object. We get this data from the polaris customer object(with a theme app extension), the same way we would do it from the theme code.

The issue is that for stores that use the new customer accounts, this does not work anymore. Even in the theme code, there is no way to check if the customer is logged in and get the customer name for example.

Is there any solution for this? I know that apps can use StoreFront API to get the customer via the session token, but we don’t have the session token, the login is done via the store login form.

1 Like

Following