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.