Skip to content

How Sypnia uses it

Every Sypnia account signs in with Sypnia Data, and Telemetry, the pilot, keeps its web app's database in it.

Applies to EngineCloud
View as Markdown
On this page
  1. Every Sypnia account signs in with Sypnia Data
  2. Telemetry keeps its data in Sypnia Data
  3. What it proves

Sypnia is built on Sypnia. Sypnia Data is where every Sypnia account lives, and Telemetry, the pilot of the suite, keeps its own data in it.

Every Sypnia account signs in with Sypnia Data

The Sypnia account you use in Telemetry, Git, the App and every other product is a user of one Sypnia Data project, sypnia, served at auth.sypnia.com. Nothing about it is special: it is the same engine, the same endpoints and the same rules this documentation describes.

  • E-mail only. Sypnia’s console, and every product app, signs you in with your e-mail address: a password, or a link sent to that address. The sypnia project does not turn on sign-in with Google or GitHub; Sypnia Data supports both for your own projects (SSO with Google and GitHub).

  • One session for the whole suite. After any sign-in, auth.sypnia.com sets the refresh token in an HttpOnly cookie on .sypnia.com, with a harmless hint cookie next to it. Each product app (data.app.sypnia.com, telemetry.app.sypnia.com, Git…) refreshes silently with the CSRF header, keeps the access token in memory, and its API verifies it with the keys of auth.sypnia.com. Moving from one product to another needs no second sign-in, and signing out with scope: 'global' ends it everywhere. This is cross-subdomain sessions, on Sypnia’s own domain.

  • Each product keeps its own people. Telemetry’s members and roles live in Telemetry’s tables, and the console’s in its own, keyed by the user’s id. The first time you open a product, it adds you with its own roll-in use case (Users and your app’s own data).

  • Its e-mails go through Sypnia Mail. Confirmations and magic links for Sypnia accounts leave from sypnia.com with the sypnia_mail provider, the same one a customer project can choose, with the same templates.

  • Agents sign in the standard way. When someone on the team gives a coding agent access, the agent runs npx @sypnia/data login: the device flow, a DPoP-bound session that lasts until it is revoked, and nothing pasted into a chat. With that session it reaches every project of Sypnia’s organizations through mcp.data.sypnia.com.

Telemetry keeps its data in Sypnia Data

Telemetry is the pilot of the suite: it uses every Sypnia product, from end to end. Its web app’s database is a Sypnia Data project of Sypnia’s organization.

What Telemetry doesWith
Signs its people intheir Sypnia account, through auth.sypnia.com
Keeps its organizations, members, projects and settingsordinary tables in its Sypnia Data project, under row-level security
Writes every flow as a use case («invite a member», «resolve a problem»)Sypnorm, from @sypnia/cases, over the Data API with each person’s token; a case another case listens to runs in its area’s service, called with the person’s session
Keeps its use-case mapits Sypnia Cases project, linked to the Data project both ways
Changes its schemamigrations in its repository, applied with npx @sypnia/data migrate
Runs its background worka machine client with a key pair and DPoP, under the same policies

Every run of a Telemetry use case is a span with sypnia.case, watched by Telemetry itself, so the team sees a slow query or a failing flow the way a customer would.

What it proves

If sign-in breaks, a session ends too soon, or a policy lets someone see a row they should not, Sypnia’s own team is the first to feel it, in production, every day.

  1. Every Sypnia account signs in with Sypnia Data
  2. Telemetry keeps its data in Sypnia Data
  3. What it proves

    Search pages, sections and terms