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: customers are redirected to Shopify’s customer login page and then back to/a/firmhouse after they log in. The default path is:
/account/login if your theme has a custom login or account page.
Leave the field blank to use the default Shopify customer login path.
If the path is set to exactly /a/firmhouse, customers 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.
Avoid paths that point back into the Firmhouse app proxy, such as /a/firmhouse?next=1 or /a/firmhouse/account, because they can create a redirect loop.
How this differs from “Self-service center unauthorised behavior”
Those settings are easy to mix up, but they apply at different places:
So you are not choosing the same redirect twice: the first setting decides how Firmhouse starts the login; the unauthenticated redirect 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. Look for Unauthenticated redirect path.Related
- Self-Service Center Login through Shopify — how the
/a/firmhouselink and SSO options work