New Shopify Certification now available: Liquid Storefronts for Theme Developers

New customer accounts and Storefront API

h5k
Shopify Partner
3 0 7

I am building a shop frontend via Hydrogen. I want my customers to have a passwordless login. Since Multipass is only available on Shopify Plus, I’d like to use the new customer accounts feature to achieve that.

 

How do I implement the customer login? The customerAccessTokenCreate function requires a non-null password. Are new customer accounts already supported via Storefront API?

 

Reply 1 (1)
h5k
Shopify Partner
3 0 7

I think I found the answer by myself: The new customer accounts run under a separate URL and it is not possible to use them with Hydrogen at all, which makes them from a user experience perspective pretty useless. When you use both a Hydrogen storefront and new customer accounts together, they feel like two separate things that have nothing to do with each other.

 

Instead of new customer accounts implemented like this I'd rather like to see a Storefront API rely on customer login via SAML, OpenID Connect, etc, which is like the Multipass feature of Shopify Plus. For the non Multipass, non Shopify Customers, Shopify should provide an identity provider that supports customer authentication via one time email code, Passkey, FIDO2, Windows Hello, YubiKey, etc. With an implementation like this, you'd get the best of both worlds, classic and new customer accounts – and you can upgrade to Shopify Plus with Multipass with less effort.