Documentation / Integration guide / Part 11 of 18

11. The site origins and the return address

  • The admin saves the site origins on the Integration page. A reader returns only to an address on 1 of them.
  • Each address of a site origin is a valid return address. Norspire adds ns_handoff to it after a log-in.
  • Norspire sends the embed script only to a request with a site origin in Origin. Another origin gets 403.
  • Give each site its own origin. A staging site needs its own origin and its own test publication. Part 14 gives the reason.

A rule for the admin. List only a site origin on which the middleware of part 4 runs for each path. If another vendor app shares an origin, such as a shop under /shop, run the middleware in front of that app. Else move that app to an origin outside the list.

A service worker of another vendor on a site origin sees each code. The rules of part 4 do not close this case. Do not run such a service worker on a site origin.