On this page
A satellite is a separately deployed application that signs its users in through the MSO Cloud issuer, shows up in the launcher, and reads platform data over the Platform API. The checklist below covers the three places that must agree.
When to use#
Use it when your application has its own code, database and release cadence but should share sign-in, organizations, memberships and entitlements with MSO Cloud (ADR 0058, App family and sign-in). Do not use it to embed analytics (apps link out) or to read marketplace and marketing data: no scope opens those planes. To only call the API from a job, you still need a client entry and scopes, but no launcher tile.
The contract#
| Place | What it holds | Where |
|---|---|---|
| Satellite manifest | kind: 'satellite', client, launch (https), scopes, planIds; no pillars, no menu items |
packages/, schema packages/ |
| Issuer client entry | client_, literal redirect_ (at most 8), post_, backchannel_, jwks (1 to 4 public EC keys), grant_, scope |
apps/ (static), supplied as IDP_ or IDP_ |
| The app's own signing key | Private key behind the published jwks; the app authenticates with private_, ES256 only |
In your app; never in this repository |
| Scope vocabulary | PLATFORM_: platform:orgs., platform:entitlements., platform:social., platform:events. |
packages/ |
The same facts live in three places (manifest scopes, client scope, PLATFORM_SCOPES). Nothing checks that they agree: the manifest only validates the shape platform:<plane>.<verb>, and the client JSON is deployment configuration, not repository content.
How registration works#
The manifest decides what an organization sees: the launcher tile comes from the plugin installation row (enabled, not_enabled, expired), and the tile URL is launchUrl unless the environment variable <CLIENTID>_URL (client id upper-cased, other characters to _) overrides it with an https or loopback URL (packages/plugin-host/src/satellite.ts). The client entry decides what a token may carry: the issuer mints a token only for an installed, enabled and entitled app, one organization per token, 600 seconds at most.
Add one#
- Add the manifest in
packages/plugin-host/src/registry.tswithdefaultEnabled: false(satellites are opt-in per organization), andplugins.<camelId>.nameand.descriptioninpackages/i18n/src/messages/{vi,en}.ts. - Generate an ES256 key pair in the app; publish only the public JWK. Ask the platform operator to add the client entry (deployment secret store, not a repository file) with exact redirect and logout URIs and the scopes from the manifest.
- In the app: authorization code flow with PKCE,
private_key_jwtclient authentication,resource=<platform-origin>/api/platform/orgs/<org_id>on the token request. Accept only ES256 ID tokens and the namespaced claims inpackages/platform-contract/src/claims.ts. - Implement a back-channel logout endpoint that revokes the local session by
sid, and a webhook receiver for the events you need (Platform API and events). - Enable the app for a test organization in the admin catalog; confirm the tile, a silent launch, an
org_mismatchrefusal on another organization, and logout from both sides.
Guards#
scripts/audit/plugin-manifest-validity.ts (cross-field rules: satellites declare only the four satellite fields); packages/platform-contract/src/contract.test.ts (claims, scopes, signatures); scripts/audit/platform-scope-per-plane.py (each platform route requires one scope per plane, in audit:all); apps/idp/src/__tests__/ for client parsing and logout.
Operating it#
- Keys: up to four public keys per client, so a rotation publishes the new key, switches the app, then removes the old one.
- Logout: disabling a user in MSO Cloud appends to the
idp:logoutstream; the issuer consumer revokes the account's sessions and sends back-channel logouts, with at most 10 deliveries per entry. - Provisioning is token-first: users and memberships are created at first login from claims; later changes arrive as signed webhooks with an event id.
- Runbook for issuer bring-up:
docs/runbooks/idp-issuer-bringup.md.
Where it stops#
- A new client needs an operator edit of deployment configuration and an issuer restart; there is no self-service registration (dynamic registration is off).
- No check ties manifest
scopesto the issuer clientscope; a mismatch shows up as a refused token at runtime. - Webhook subscription rows have no write path in this repository: see Platform API and events.
- One satellite manifest exists today; which organizations use it is on Project status.