> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firmhouse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bridge unauthenticated Shopify visitors

> Handle customers who reach the Self Service Center without a Shopify customer session, including the default Shopify login bridge and custom storefront redirect paths.

# What happens when customers aren't logged into Shopify

If you use [Shopify for Self Service Center login](/configure/ssc-shopify-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:

```text theme={null}
/customer_authentication/login?return_to=/a/firmhouse
```

**Optional custom redirect:** in your Shopify app settings, use the field **Unauthenticated redirect path** if you want a different storefront path. For example, use `/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](/configure/ssc-shopify-login).

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**:

| Setting                                       | Where it runs                                                                                                                                                                    |
| --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Self-service center unauthorised behavior** | The **Firmhouse** self-service login page, when someone has no session yet. “Redirect to Shopify login” sends them to the configured Shopify login bridge path on your store.    |
| **Unauthenticated redirect path**             | Your **storefront** at `/a/firmhouse`, when **Shopify** has no logged-in customer. By default, this sends customers to Shopify's customer login and then back to `/a/firmhouse`. |

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](/configure/ssc-shopify-login) — how the `/a/firmhouse` link and SSO options work
