Skip to content

Run the platform from source (local development)

Section titled “Run the platform from source (local development)”

This page is for platform contributors, and for integrators who need a complete local sandbox rather than a hosted tenant. It collects the machine-level techniques for running OSOS from source on your own workstation: generating the per-developer configuration, giving the instance a real hostname, launching the whole backend fleet at once, recovering the first login, and diagnosing a bring-up that will not come up.

It is deliberately separate from the rest of this section, and self-contained. The other pages describe building on a running platform — through its API, events and functions; everything here describes standing the platform up on a laptop. The operator-level reference for the same Docker Compose setup — what runs where, seeds and migrations — is Running locally. A few steps still edit files you must not commit; those are marked local-dev only.

Generate the local configuration files Since 1.10

Section titled “Generate the local configuration files Since 1.10”

Two files a workstation run needs are deliberately not in the repository, and a script creates them for you. pnpm install runs it through postinstall (skipped when CI is set), and you can re-run it at any time:

Terminal window
pnpm run setup:local

It never overwrites, so re-running it is safe and will not undo your edits. It creates:

File it createsCopied fromWhat it is for
config/app-config.local.jsonconfig/app-config.jsonThe endpoints the portal calls — your copy, free to edit
services/data-service/.env.migrationservices/data-service/.env.migration.exampleThe super-admin identity the migration seeds

Why app-config.json is still tracked, and how to override it Since 1.10

Section titled “Why app-config.json is still tracked, and how to override it Since 1.10”

The obvious move — untrack config/app-config.json and let every developer keep their own — is wrong here, and the reason is worth knowing because the failure is silent. Compose creates a directory at a missing bind-mount source. A clone that skipped the copy step would get a directory where the portal expects its config file, and the portal would be served a broken configuration with no error anywhere. Setting bind.create_host_path: false does not prevent it.

So the tracked file stays, and the mount is indirected instead:

- ${OSOS_APP_CONFIG:-./config/app-config.json}:/app/app-config.json

Unset — which is every existing setup, and all of CI — that resolves to exactly the path it always used. To point the portal at your own endpoints, set the variable in backend/.env and edit the local copy rather than the tracked one:

OSOS_APP_CONFIG=./config/app-config.local.json

Everywhere below that tells you to set API_BASE_URL, AUTHORITY and friends, that is the file to edit once this variable is set.

A 1.10 portal reads less of this file Since 1.10. The current portal copies app-config.json through an allowlist and ignores API_BASE_URL, SOCKET_BASE_URL, APP_URL, AUTHORITY and CLIENT_ID: it derives the API and socket bases from the page’s own origin and takes its OIDC settings from the host’s tenant-config — see Portal sign-in comes from the host’s tenant-config. The settings below matter only for a pre-1.10 portal build.

Use a local domain instead of localhost or an IP

Section titled “Use a local domain instead of localhost or an IP”

The single highest-value change you can make to a local environment is to stop browsing localhost or a raw IP and give the instance a real hostname — osos.lan, say — with its subdomains pointed at your machine. It removes every loopback workaround further down this page, and it is the only way to exercise the parts of the platform that key off the request host.

OSOS is multi-tenant by hostname. On every request the gateway resolves the Host header into a Space and a Domain, and rejects anything it cannot match. Space hosts are derived from the Space’s domain record:

  • domain_identifier === 'root' → the Space is served on the bare URL.
  • Any other identifier → the Space is served on <domain_identifier>.<url>.

So a second Space with identifier hr on domain osos.lan is reachable only at hr.osos.lan. With localhost you cannot meaningfully exercise that: the default host alias rewrites the literal string localhost:4200 to the gateway’s port, because the portal (:4200) and gateway (:8000) are split across two ports locally — something no real deployment does. A real domain has no alias entry, so it resolves to itself and the generic host-building path runs, exactly as it does in production.

The payoff:

  • Spaces and Domains become testable. Create a Space, give it an identifier, browse its subdomain, and watch space-resolver and domain-resolver do the real thing.
  • Per-host sign-in behavior becomes testable — supportLocalSignIn, per-Domain branding, and identity-provider selection are all resolved from the host.
  • No loopback patching. The 127.0.0.1 workarounds in the next section stop being necessary, because the browser, the portal, and the gateway all agree on one host.
  • The topology matches production: one hostname, path-routed to the portal, the gateway, and identity.

Use a name in a reserved suffix — .lan, .internal, or .test — never a real TLD you do not own, and never .local (mDNS). You need osos.lan and *.osos.lan resolving to the workstation’s LAN address.

ApproachWildcardsGood for
dnsmasq on the workstation or a home serverYes — address=/osos.lan/192.168.1.50 covers the domain and every subdomainThe standard choice on Linux/macOS; also what most router firmware runs underneath
Pi-hole (or any LAN DNS appliance)Yes — one wildcard recordA LAN-wide setup where phones and other machines must reach the instance too
Router DNS entryDepends on firmwareZero extra software when the router supports wildcard host overrides
Acrylic DNS Proxy (Windows)Yes — 192.168.1.50 osos.lan *.osos.lan in AcrylicHosts.txtA Windows workstation with no LAN DNS available
hosts fileNoOnly viable if you enumerate every Space subdomain by hand; fine for one or two Spaces, useless for testing Space creation

The hosts-file limitation is the reason to prefer a real resolver: the whole point of the exercise is that a newly created Space resolves without you touching anything.

Point the domain at the machine’s LAN IP, not 127.0.0.1, if you want to open the instance from a phone or a second machine — which is also how you test the mobile app against a local backend.

Put one front door in front of the portal and the gateway

Section titled “Put one front door in front of the portal and the gateway”

A production instance serves everything from one host and path-routes behind it. Locally the portal and the gateway are separate published ports, so put a small reverse proxy on port 80 and mirror the production path map.

The production ingress routes, in order of specificity:

PathBackend
/socketpublic websocket service
/apiAPI gateway
/sh/shortener
/identity, /users-assets, /.well-known, /jwks, /me, /session, /ext-auth, /token, /interaction, /authidentity
/auth-callbackportal
/portal

A Caddy container reproduces that locally. Add it to backend/docker-compose.override.yml (the same local-only override file that carries the image remaps):

# backend/docker-compose.override.yml — local-dev only
services:
front-door:
image: caddy:2-alpine
ports:
- "80:80"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
extra_hosts:
- "host.docker.internal:host-gateway"
# backend/Caddyfile — local-dev only
http://osos.lan, http://*.osos.lan {
handle /api/* {
reverse_proxy osos-api-gateway:8000
}
handle /socket/* {
reverse_proxy host.docker.internal:3017
}
handle /sh/* {
reverse_proxy host.docker.internal:3010
}
@identity path /identity/* /users-assets/* /.well-known/* /jwks /me /session /ext-auth/* /token/* /interaction/* /auth/*
handle @identity {
reverse_proxy host.docker.internal:3001
}
handle {
reverse_proxy osos-web:5000
}
}

The gateway and portal are addressed by their Compose service names because Caddy shares their network; identity and the websocket service run natively on the host, so they are reached through host.docker.internal. /auth-callback is not matched by the /auth/* matcher and correctly falls through to the portal, matching the production ingress.

Four places carry the host, and all four must agree.

  1. Portal runtime config — the file mounted into the portal container. Edit backend/config/app-config.local.json and point OSOS_APP_CONFIG at it (see above) rather than editing the tracked backend/config/app-config.json:
    API_BASE_URL = http://osos.lan/api
    SOCKET_BASE_URL = http://osos.lan/
    APP_URL = http://osos.lan
    AUTHORITY = http://osos.lan
  2. Identity — backend/services/users-service/config.env. AUTHORITY_URL is the OIDC issuer and must match AUTHORITY above exactly; RP_ID is the WebAuthn relying-party id and must be the registrable domain:
    AUTHORITY_URL="http://osos.lan"
    CLIENT_ORIGIN="http://osos.lan"
    RP_ID="osos.lan"
    BEHIND_PROXY=true
  3. OIDC client — add the domain’s callbacks to the localhost-angular client in backend/services/users-service/src/clients.json (and the built copy under dist/, or rebuild the service): http://osos.lan/auth-callback and http://osos.lan/silent-renew.html in redirect_uris, http://osos.lan in post_logout_redirect_uris.
  4. The seed — run the initial-setup migration with the domain, so the seeded Domain record and Root Space are bound to it from the start:
    Terminal window
    DEFAULT_DOMAIN="osos.lan" node ./dist/migrate

If the instance was already seeded against localhost:4200, either reset it and re-seed with the new DEFAULT_DOMAIN, or edit the Domain record’s host and the Root Space’s domain URL, then restart data-service so its boot observers rewrite the routing caches.

With wildcard DNS in place, create a second Space with a domain_identifier (lowercase letters, digits, and underscores only), and it becomes reachable at <identifier>.osos.lan with no further DNS or proxy work. Confirm the host actually landed in both routing caches before blaming the browser — a Space without a matching Domain produces SPACE_ERROR or DOMAIN_ERROR even though the UI shows the Space as created. The full model, both records’ fields, and the resolver behavior are described in Spaces & Domains.

Loopback fallback: the 127.0.0.1 workarounds

Section titled “Loopback fallback: the 127.0.0.1 workarounds”

If you are not going to set up DNS, the instance has to be reached over the loopback address, and on Windows that takes several coordinated settings. This is the fallback, not the recommendation — the domain setup above exists precisely to avoid it.

Windows resolves localhost to the IPv6 loopback ::1 first, and Docker Desktop does not forward the IPv6 loopback. Published container ports — the portal on :4200, the gateway on :8000, the RabbitMQ UI on :15672 — are therefore dead on localhost and alive on 127.0.0.1. Services running natively (identity on :3001, data-service on :3000) bind both, so they work either way, which is what makes the failure so confusing: half the stack answers on localhost and half does not.

The browser makes it worse. Page navigation falls back from ::1 to IPv4, but fetch and XHR do not — so the portal can load on localhost:4200 and every API call it makes still fails. The portal must be pointed at 127.0.0.1 explicitly.

An alternative is to make Windows prefer IPv4 globally, from an elevated prompt:

Terminal window
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 60 4

That keeps localhost usable everywhere, at the cost of a machine-wide network policy change — and the space and domain host mappings still have to cover whichever host the browser ends up sending.

The loopback OIDC callbacks are already registered Since 1.10

Section titled “The loopback OIDC callbacks are already registered Since 1.10”

Nothing to do here any more. The development-only localhost-angular client in backend/services/users-service/src/clients.json now carries both host spellings out of the box:

redirect_uris: http://localhost:4200/auth-callback
http://localhost:4200/silent-renew.html
http://127.0.0.1:4200/auth-callback
http://127.0.0.1:4200/silent-renew.html
post_logout_redirect_uris: http://localhost:4200
http://127.0.0.1:4200

Previously only the localhost spellings were listed, so opening the portal on http://127.0.0.1:4200 — the address Docker Desktop on Windows forces — ended sign-in in an invalid-redirect error, and the file had to be hand-edited locally. It grants nothing the localhost entries did not; it is the same client, reachable by both names.

Any other host still needs its own entries added by hand — that is the local-dev edit in step 3 of Configure the platform for the domain.

Keep the OIDC AUTHORITY on localhost:3001 — identity is a native service that binds both stacks, and the issuer must keep matching what it announces.

Map the loopback host with DEV_HOST_ALIASES Since 1.10

Section titled “Map the loopback host with DEV_HOST_ALIASES Since 1.10”

This used to be a source edit. It is configuration now — one environment variable, no patched file, nothing to keep out of a commit.

A Space and a Domain each record one host: the address a browser is expected to use. Locally that is not the address the gateway answers on, so the routing caches built from those records never match the Host the browser actually sends, and every API call returns SPACE_ERROR and then DOMAIN_ERROR. Both caches are now built through one shared aliasing layer, configured by DEV_HOST_ALIASES in backend/.env:

ShapeA JSON object mapping a recorded host to one host, or to a list of hosts
ExampleDEV_HOST_ALIASES={"localhost:4200":["localhost:8000","127.0.0.1:8000"]}
Default when unset{"localhost:4200": ["localhost:8000"]}
A host with no entryResolves to itself
Malformed valueLogged, not thrown — it is read while refreshing the cache, so a typo must not take the refresh down. The default is used instead.
ProductionSets nothing, so nothing changes for a real deployment.

One semantic matters when writing the value: the alias list replaces the recorded host, it does not add to it. That mirrors the hardcoded rewrite it generalises, where localhost:4200 was replaced by localhost:8000 rather than served alongside it. To keep both localhost:8000 and 127.0.0.1:8000 usable, list both.

The Domain side is the part that changed most: it previously took its host verbatim, with no rewrite at all, so covering the Space alone was never enough. Both sides now run through the same function, which is why one setting fixes both.

After changing the value, restart data-service — the caches are rewritten by boot observers, so a running service keeps serving the old host lists.

Add the loopback host to the Default Domain

Section titled “Add the loopback host to the Default Domain”

DEV_HOST_ALIASES fixes what the gateway resolves. Identity has its own check: it shows the username and password form only when a Domain lists the host the browser returns to. The seed gives Default Domain one host, DEFAULT_DOMAIN (default localhost:4200), so on 127.0.0.1:4200 the sign-in page is blank. Seed with DEFAULT_DOMAIN="127.0.0.1:4200", or on an instance already seeded add 127.0.0.1:4200 as another Host on Default Domain (Administration › Applications › Data Entities › Domain, see Spaces & Domains). To get a session for that, sign in on localhost:4200 with the browser forced onto IPv4 — for example Chromium started with --host-resolver-rules="MAP localhost 127.0.0.1". The saved change reaches identity and the gateway’s domain cache through the update event, with no restart; a direct edit of the Mongo domain collection skips that event and leaves identity’s copy stale.

Portal sign-in comes from the host’s tenant-config Since 1.10

Section titled “Portal sign-in comes from the host’s tenant-config Since 1.10”

The portal no longer reads its OIDC settings from app-config.json. Before Angular starts it requests GET /api/identity/v1/tenant-config on the host it was opened on and takes authority, clientId and scope from the response (the contract is in Authentication & OAuth). Consequences for a workstation run:

  • OIDC_WEB_CLIENT_ID must be set on the identity service. users-service/config.env ships OIDC_WEB_CLIENT_ID="localhost-angular"; without it tenant-config answers 503 and the portal shows its “sign-in service not available / still being set up” page instead of starting.

  • nx serve proxies /api and /socket.io to the gateway named by OSOS_API_TARGET (default http://localhost:8000, or a remote environment) with changeOrigin, so the gateway resolves the tenant from the target’s host. The development build signs in through the localhost-angular client, because a real environment’s web client does not list http://localhost:4200. The production bundle has no such override, and CI fails a production build that contains it.

  • The osos-web image has no such proxy: its nginx serves the portal only, so on the split-port stack (portal :4200, gateway :8000) /api/identity/v1/tenant-config falls through to the portal’s page and the portal stops on BAD_CONFIG. The image (Since 1.10) reads any *.conf mounted into /etc/nginx/conf.d/extra/ inside its server block, so mount a local-dev only include that does what nx serve does. Behind a front door you do not need it: the front door already routes /api and /socket.

    # same-origin-api.conf — local-dev only. Mounted into osos-web at /etc/nginx/conf.d/extra/
    location ^~ /api/ {
    proxy_pass http://osos-api-gateway:8000;
    proxy_http_version 1.1;
    proxy_set_header Host 127.0.0.1:8000; # a host the gateway already resolves
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    client_max_body_size 512m;
    proxy_read_timeout 300s;
    }
    location ^~ /socket.io/ {
    proxy_pass http://host.docker.internal:3017; # the public websocket service
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
    proxy_read_timeout 3600s;
    }

    Mount it from backend/docker-compose.override.yml (keep the file outside the repository), then docker compose up -d osos-web:

    # backend/docker-compose.override.yml — local-dev only
    services:
    osos-web:
    volumes:
    # keep the file outside the repository
    - /path/to/osos-local/portal-nginx/same-origin-api.conf:/etc/nginx/conf.d/extra/same-origin-api.conf:ro

    The include sends Host: 127.0.0.1:8000, so keep that host in DEV_HOST_ALIASES.

  • A broken bootstrap renders a static bilingual error page with a data-reason code and the gateway correlation id. BOOTSTRAP_ENDPOINT_MISSING usually means the backend image or the /api/identity gateway route is older than the frontend.

Other local-run defaults that changed Since 1.10

Section titled “Other local-run defaults that changed Since 1.10”
  • space-resolver answers 404 SPACE_ERROR for a host that matches no Space (it was 400); domain-resolver still answers 400 DOMAIN_ERROR. The portal classifies either as an unresolved host.
  • APPLY_RATE_LIMITER — the /identity rate limiter (10 non-GET requests per 15 minutes per client address) is on unless the value is false (Since 1.4: the flag used to be inverted). The local users-service/config.env sets "false" so repeated sign-in tests are not throttled; leave it unset for a production-like run.
  • OIDC_COOKIE_KEYS is required unless NODE_ENV is development or test (the local config.env sets NODE_ENV=development, so a key is generated with a warning). Signing keys are no longer read from a committed jwks.json; they are generated into the tenant’s key store on first boot, or read from PEM files in OIDC_SIGNING_KEYS_DIR.
  • SPACE_SCOPE_ENFORCEMENT defaults to enforce in code when unset — the usual case on a workstation — so a script that calls a service directly without an x-space-id header gets 400 SPACE_CONTEXT_MISSING instead of silently using the Root Space. (A chart-deployed environment renders spaceScope.enforcement, whose default is observe.) Through the gateway the header is always supplied from the host.
  • ENABLE_SPEC=false now really stops /api/openapi.json and /api/explorer (Since 1.2, an update on every line); it used to leave the JSON document served.
  • SIGNIN_AUTO_REDIRECT_SINGLE_PROVIDER is a commented-out example in config.env; unset means on, so the login page is skipped when one external provider is the only way in.

The backend services are not in Compose; they run natively. Two root scripts start them, and they are not interchangeable:

ScriptWhat it starts
pnpm run start:coreThe merged core process, plus only the services core does not host (oidc, storage, indexing, scheduler, notification, web-socket, rtc). This is the one to run day to day.
pnpm startEvery workspace service as its own process — except the merged core bootstrap.
Terminal window
cd backend
pnpm run start:core

Both scripts build first (Turbo’s start task depends on build), and both default TENANCY_MODE=single, APP_ID=local and ALLOW_INSECURE_FIELD_ENCRYPTION_KEY=true for every service they launch; a value already set in your shell wins. A third script, pnpm run start:main, used to start a hand-picked minimal subset; it was removed in 1.10 Removed 1.10 because start:core already brings up everything a local run needs.

core is a bootstrap that boots several service applications (audit, notification-api, reaction, dependency-service, data-service, comments, timeline, workflow-service, logging-service, integrations, packaging-service, functions) inside one process, so starting it alongside the same services individually would run each of them twice. pnpm start therefore leaves it out, and start:core is the script that runs it — leaving out, in turn, every application core already hosts.

Two constraints then shape a hand-rolled launcher: every service defaults its Prometheus metrics server to the same port, so each needs a distinct METRICS_PORT — non-fatal for HTTP services, fatal for the port-less bus workers — and a service started on its own does not get the defaults the root scripts supply, so it refuses to boot without APP_ID (single-tenant mode), and the services that encrypt fields also need a master key or, locally, ALLOW_INSECURE_FIELD_ENCRYPTION_KEY=true.

The altcha and shortener services are not in this list: they are not workspace packages. They live in their own repositories and run locally as Compose images, published on the ports the other services expect (altcha on 3023, the shortener on 3010):

Terminal window
cd backend
docker compose up -d altcha-service shortener-service

A launcher that assigns ports, sets those defaults, and keeps one log per service:

#!/usr/bin/env bash
# ~/osos-start-all.sh — local-dev only
cd "<path-to>/backend"
export BASH_ENV="$HOME/.pnpm-bashenv" # Windows-only; see the note below
mkdir -p "$HOME/osos-logs"
mp=9101
# the defaults the root start scripts would have supplied
export TENANCY_MODE="${TENANCY_MODE:-single}" APP_ID="${APP_ID:-local}" \
ALLOW_INSECURE_FIELD_ENCRYPTION_KEY="${ALLOW_INSECURE_FIELD_ENCRYPTION_KEY:-true}"
for s in oidc data-service logging-service workflow-service reaction storage \
notification-api indexing audit comments timeline scheduler packaging-service \
dependency-service web-socket notification; do
env METRICS_PORT=$mp pnpm --filter "$s" run start > "$HOME/osos-logs/$s.log" 2>&1 &
echo "launched $s (METRICS_PORT=$mp)"
mp=$((mp+1))
done
echo ALL_LAUNCHED
wait

Run it in the background and leave it running — it owns the service processes:

Terminal window
bash ~/osos-start-all.sh &

The list is the workspace name, which often differs from the directory name (identity’s package is oidc, web-socket-service is web-socket). BASH_ENV is only needed on native Windows, where it supplies the nullglob setting the package scripts assume.

Services must be listening and their bus queues bound before the initial-setup migration runs, because provisioning is published over the bus and a topic exchange drops messages nobody is consuming. Confirm the two that matter have a consumer:

Terminal window
docker exec backend-rabbitmq-1 rabbitmqctl list_queues name consumers \
| grep -E "data-service-queue|users-service-queue" # both should show 1

Who the super-admin is comes from services/data-service/.env.migration — the file pnpm run setup:local creates — through SUPER_ADMIN_EMAIL and SUPER_ADMIN_USERNAME. Set both before you migrate, and use an inbox you can read for SUPER_ADMIN_EMAIL: the defaults in the code and in the example files are not addresses you will receive mail at. With a mail catcher (below) any address works: every message lands in the same inbox.

The super-admin gets no password. When the identity service creates the account it gives it an unusable random password, issues a password-reset token, and emails the set-password link to SUPER_ADMIN_EMAIL. Since 1.10 only a SHA-256 hash of the token is stored (resettokens.tokenHash), so the link cannot be rebuilt from the database — reading the collection gives you nothing you can open. Catch the email instead.

Run a local mail catcher and point the email sender at it. Mailpit takes SMTP on 1025 and shows every message in a web inbox on 8025. Add it to backend/docker-compose.override.yml, and give the email-service container its SMTP settings (the same SMTP_* variables a cluster deployment sets):

# backend/docker-compose.override.yml — local-dev only
services:
mailpit:
image: axllent/mailpit
ports:
- "8025:8025"
environment:
MP_SMTP_AUTH_ACCEPT_ANY: "1"
MP_SMTP_AUTH_ALLOW_INSECURE: "1"
email-service:
environment:
SMTP_HOST: mailpit
SMTP_PORT: "1025"
SMTP_SECURE: "false"
SMTP_USERNAME: local
SMTP_PASSWORD: local

Recreate the two containers (docker compose up -d mailpit email-service), then run the migration. Open http://localhost:8025, find the set-password email, and follow its link. The reset router is mounted under /identity, so the link reads /identity/reset-password/<token> on the host you configured — http://osos.lan/identity/reset-password/<token> on a domain setup. Set a password, then sign in at the portal.

If the link has expired (24 hours by default) or the email never arrived, open /identity/reset-password on the same host and request a new link for the super-admin email you seeded. Each request replaces the previous link, so only the newest one works.

The failure modes move as you fix each layer — connection refused, then SPACE_ERROR, then DOMAIN_ERROR, then a real response. That progression means you are making progress; each one is a different layer answering.

Terminal window
# What is actually listening? Authoritative on Windows, where curl is easy to misread.
powershell -c "Get-NetTCPConnection -State Listen | ? {$_.LocalPort -ge 3000 -and $_.LocalPort -le 3025} | select LocalPort"
# Curl a published port without the proxy/loopback quirks getting in the way:
curl -s --noproxy '*' -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8000/api
# Can the gateway container reach the native services on the host?
docker exec backend-osos-api-gateway-1 sh -c \
'curl -s -o /dev/null -w "%{http_code}\n" http://host.docker.internal:3000/'
# Which plugin is rejecting the request? Replay the preflight and read the body:
curl -s -i --noproxy '*' -X OPTIONS http://127.0.0.1:8000/api/language \
-H "Origin: http://127.0.0.1:4200" \
-H "Access-Control-Request-Method: GET" \
-H "Access-Control-Request-Headers: authorization"
# A service's boot log, if you used the launcher above:
tail -n 40 ~/osos-logs/data-service.log

The preflight replay is the fastest way to separate a genuine CORS problem from a tenancy one. The gateway allows all origins, so a rejected preflight is almost always the space or domain resolver refusing the host — the error body names which.

Most of this page is Long-standing — the split-port local topology, the host-derived tenancy, and the seed behavior all predate the 1.2 milestone.

The mechanics that changed recently are developer-environment facts rather than product capabilities — they change nothing a tenant, an administrator or an app builder can see, and they are not part of any release the product announces. They do, however, live in the backend repository itself, so they ship with the code: Since 1.10 and later, a checkout of develop or the 1.10 release branch has them; a checkout of 1.8 or an earlier release branch will not. That is exactly what the version filter is for: they carry `Since 1.10` so filtering this page to an earlier milestone hides the steps that would not work there.

  • DEV_HOST_ALIASES and the shared aliasing layer behind it, on both the Space and the Domain side. Before it, the loopback host mapping was the hand-applied source patch this page used to document.
  • The 127.0.0.1 callbacks on the localhost-angular OIDC client.
  • scripts/setup-local-config.js (postinstall / pnpm run setup:local) and the OSOS_APP_CONFIG mount indirection.
  • The AD and Entra ID directory importers leaving this repository for their own, which also retired the azure-ad-importer exclusion pnpm start and pnpm run start:core briefly carried.
  • The portal bootstrap from tenant-config and the other local-run defaults listed under Other local-run defaults that changed — these are product changes, shipped on the 1.10 line.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27