Menu

Make market reps sign in from their website

Updated November 26, 2026

Each market website of your store can lead its reps to the sales portal. With one setting on, a rep limited to a market can sign in only from that market’s website.

How it works

Your store serves the sales portal page on every website, at the portal address of your store (normally /apps/b2b-portal). On a market’s website that page names the market’s countries and gives a sign-in link. A market on a subfolder (for example /en-mx) has its own page under that folder.

Open the page from the market’s website and use its link. The link is good for two hours.

Require the market’s website

  1. Open Settings and find the Markets section.
  2. Tick Market reps sign in through their market’s website and click Save. You’ll see Sign-in setting saved.

The sign-in setting in Settings, Markets, with the checkbox ticked and its Save button

With the setting on:

  • A rep limited to countries can sign in only from the sales portal page of a website whose market covers one of their countries.
  • If the rep comes from another market’s website, or straight from the app’s own address, sign-in fails with the usual Invalid email or password. The message doesn’t say why.
  • A rep with no countries signs in from anywhere.
  • A rep whose countries have no market website of their own signs in as before, so nobody is locked out.

With the setting off (the default), the rep’s countries still limit what they see, but any website can be used to sign in.

The setting has no effect on reps without countries, so limit the rep to a market first.

What reps see on the sign-in page

  • If a market rep opens the sign-in page without coming from a market website (an expired session, an installed home-screen app, Back to Sign In after a forgotten password), the page says “Sales reps of a market: open the sales portal from your market’s website to sign in.”
  • If the page they used is more than two hours old, it says “This sign-in page is too old to know which website it came from. Open the sales portal from your store’s website again.”

QR badges and password-reset links don’t depend on the website. After a reset, the rep goes to their market’s sales portal page when the market has a website.

If it doesn’t work

  • A new domain isn’t recognised. Open Settings → Markets and click Refresh. See Let FieldB2B read your Shopify markets.
  • The portal page is missing on a website. Check that the sales portal page of the store opens on that domain.