Skip to content
Open the portal
Using the portal

Sign in and create a workspace

Portal users5 min read

Stratl has no passwords. You sign in with your work email and a six-digit code that Stratl emails you. Signing up and signing in are the same flow: the first time a verified email is seen, you are asked to create a workspace.

  1. Open the portal (app.stratl.ai, or http://localhost:5173 on a developer machine) and enter your work email.

  2. Open the email titled <code> is your Stratl verification code and type the six digits. If you switch tabs while typing, the page keeps your email and the code step.

  3. First time only: the create a workspace form. It asks for your name and role, your company, a workspace name, industry and size, the custody region (where your keys and records will live; it cannot be changed later), what you intend to record, and your stack. You accept the terms. Your first ingest key is shown once on the next screen.

  4. You land on Get started. If you were invited to an existing workspace, you land in that workspace with the role you were given.

Rule Value
Code 6 digits, works for 10 minutes, once
Wrong guesses 5 per code; after that the code is void even if the next guess is right
New code at most one per 60 seconds and five per 10 minutes, per email; a new code voids the previous one
Session 30 days, extended while in use; an HTTP-only cookie that scripts cannot read
Per network a burst of six code requests from one address, then ten an hour; sign-up codes are also capped per email domain per day
Browser a code only works in the browser that asked for it; read out to someone else, it is useless

Codes, session tokens and ingest keys are stored only as one-way hashes, so a copy of Stratl’s database contains nothing that can sign anyone in.

Optional, and worth a minute: a passkey (Face ID, Touch ID, Windows Hello, your phone or a security key) or an authenticator app (1Password, Google Authenticator, Authy, Microsoft Authenticator) as a second step after your email code. With it, a stolen code or cookie is not enough to get in, and nothing depends on your inbox. Passkeys are phishing-resistant: they only work on the real Stratl.

Set it up from the prompt on the dashboard or from Settings → Two-step verification. You get ten recovery codes, shown once; each works once in place of your passkey or app if you lose your device. Signing in then goes email code → passkey (one touch) or app code. Five wrong attempts end the session and you start again from the email code.

Sensitive actions that ask you to confirm it is you accept the passkey or app code too, so you rarely need an emailed code once enrolled. An owner can require two-step verification for everyone in the workspace (Settings → Two-step verification); members without a method are asked to set one up before they can use it, and nobody can remove their last method while a workspace they belong to requires one.

A sign-in from a browser and operating system your account has not used before sends you an email: New sign-in from Safari on iPhone, from 198.51.100.9. If it was not you, the button in that email signs every session out; the link is signed, works for a week and can only ever sign out. Settings → Sessions lists every browser signed in as you, with Sign out other devices and Sign out everywhere.

Actions that change who or what can act in a workspace (creating or revoking ingest keys, taking custody, changing a role, removing a person) need a session that proved itself in the last fifteen minutes. Older sessions are asked for a fresh code first, in the same dialog, and the action then goes through. A stolen cookie alone is not enough for any of them.

The session cookie is HttpOnly, Secure, SameSite=Lax and carries the __Host- prefix, so a script cannot read it and nothing can plant one from another host.

A workspace is created, and a teammate invited, on a work address only. Public mailbox providers (Gmail, Outlook, Yahoo, iCloud, Proton and the like) and temporary mailboxes are refused before any code is sent, with the message Use your work email. Personal and temporary mailboxes cannot create a workspace. Stratl also checks that the domain can receive mail, which catches a typo in the company name. Signing in to an account that already exists is never affected.

Addresses are stored in one canonical spelling: lower case, without a +tag, and without dots at Gmail. Ada.Lovelace+stratl@gmail.com and adalovelace@gmail.com are one person and one account.

Your own deployment can relax this (STRATL_SIGNUP_EMAIL_POLICY=any) or admit particular domains: see the configuration reference.

Sign-up is also protected against scripts: code requests are limited per network address and per email domain, workspaces per address and per domain per day, and two global ceilings (sign-up codes per hour, workspaces per day) alert the operators when hit. A refused request answers 429 rate_limited with a scope and a retry_after; the portal says when to try again. The forms also carry a hidden field that no person sees; a bot that fills it is answered politely and ignored.

If you belong to more than one workspace, the account menu at the bottom of the sidebar lists them. Switching changes which workspace your session acts in; nothing else changes. Your role can differ per workspace.

The account menu → Sign out ends the session on the server and clears the cookie. Sessions that are simply left expire after 30 days and are then deleted.