Skip to main content

What happens when customers aren’t logged into Shopify

If you use Shopify for Self Service Center login, customers reach the portal through a storefront URL on your domain (for example /a/firmhouse). That flow assumes they already have a Shopify customer session.

When there is no Shopify session

If someone opens that URL without being logged into Shopify, we can’t send them straight into the Self Service Center. Default: they stay on your storefront and see a short message asking them to log in to Shopify first, then try again. You can style that message with the FH-SSO--not-logged-in class—see Styling error messages under Option 1 in Self-Service Center Login through Shopify. Optional redirect: in your Shopify app settings, use the field Store redirect path (for example /account/login). When set, visitors are sent to that path on your store instead of only seeing the message—useful if you want them to land on your theme’s login or account page. Leave the field blank to keep the default behavior.

How this differs from “Self-service center unauthorised behavior”

Those settings are easy to mix up, but they apply at different places:
SettingWhere it runs
Self-service center unauthorised behaviorThe Firmhouse self-service login page, when someone has no session yet. “Redirect to Shopify login” sends them to /a/firmhouse on your store.
Store redirect pathYour storefront at /a/firmhouse, when Shopify has no logged-in customer (for example right after that redirect, or if someone opens the link directly).
So you are not choosing the same redirect twice: the first setting decides how Firmhouse starts the login; the optional path decides what happens on the store if Shopify still does not see a customer session.

Where to configure

The setting is in the project admin under your installed Shopify app (Shopify SSO and/or Shopify Subscriptions, depending on your setup), in the app configuration.