The platform

Sign in once. Prove it with a code.

Signet's platform is the one place the fleet's tools send a person to sign in. It checks a password and a second factor, hands the tool signed proof, and can end that proof later. This page says what it does, read from its code.

Illustration: a long wall of small brass-fronted pigeonhole drawers with blank label frames in a quiet records room, one drawer open a few inches with a warm red lamp glowing inside.
The flow

From a tool to a signed-in person

A tool never sees a password. It sends the person to Signet and gets back a code it can trade for tokens.

  1. Hand off

    The tool sends the browser to Signet's authorization endpoint with its client name, a registered return address, and a PKCE challenge. A tool Signet has not met before is registered on that first request, provided its name and return address follow the fleet's pattern, and the number of new tools one address can register in an hour is limited.

  2. Password

    Signet shows its own sign-in page. The person enters an email address and a password. The page carries no token in its address and accepts a continue address only when it points at Signet's own authorization endpoint.

  3. Second factor

    Signet asks for the six-digit code from an authenticator app, or for a recovery code. When a second factor is required, a person with none is walked through enrolling one before the sign-in completes.

  4. Authorization code

    Signet sends the browser back to the tool's registered address with a one-time authorization code that lives for a short time.

  5. Tokens

    The tool trades the code and its PKCE verifier at the token endpoint for an access token, an ID token, and a refresh token, and checks the signatures against Signet's published keys.

The contract

What a tool can rely on

Signet publishes a standard OpenID Connect discovery document, so any library that speaks the protocol can be pointed at it. These are the values the document carries.

What a tool can rely on
FlowAuthorization code, and the refresh token grant. No implicit flow, no password grant.
PKCES256 only. Required for a client with no secret, and a plain challenge is refused.
Scopesopenid, profile, email, and offline_access
Client authenticationNone for public clients, or a client secret in the body or in a basic header
Token signingRS256, with the public keys published as a key set
Claimssub, email, email_verified, name and its parts, picture, updated_at, and iss, aud, exp, iat, auth_time, amr, nonce, and at_hash on the ID token
Proof of possessionDPoP (RFC 9449), with ES256 proofs and replay protection on each proof's identifier
EndpointsAuthorization, token, user information, revocation, and end-session, all listed in the document

amr says how the person signed in, in the words of RFC 8176: a password alone, or a password plus a one-time code. A refresh never adds a method the sign-in did not have.

Second factor

A second factor, and the way back from losing it

The second factor is a time-based code from any authenticator app. The platform can require it of everyone, and recovery codes and an administrator's reset are the way back.

  • A person with no factor enrolls one from the sign-in itself: Signet shows a QR code and the key, and the first confirmed code finishes the sign-in. An account that already has a factor is refused this path, so a stolen password cannot add a factor of its own.
  • At the first enrollment Signet makes ten single-use recovery codes, shows them once, and keeps only their hashes. A recovery code signs a person in once, and is counted against the guess limits like a code. The person is emailed when one is used.
  • From the security settings page a person can enroll an app, remove one, and replace the recovery codes. Replacing them makes every old code stop working.
  • An administrator with a recent sign-in of their own can reset a person's factors. That removes the factors and the recovery codes and ends the person's sessions.
  • Enrolling or removing a factor needs a recent sign-in, and the person is emailed after each change.
Sessions

Sessions Signet can end

A signed token proves a sign-in until it expires, which is why Signet keeps a way to end one early.

Refresh tokens rotate
Every refresh trades the old token for a new one and ends the old. If a token that was already rotated is used again, Signet treats it as stolen and ends the chain it belonged to and the person's sessions that existed then. A second tab that refreshes at the same moment gets a sibling session instead of a sign-out.
A log-out ends the whole tree
Logging out, revoking a token, or ending a session through the end-session endpoint ends every refresh token below that sign-in, including a fork left by two tabs racing. Another sign-in of the same person is left alone.
A version number ends access tokens
Each person carries a token version, and every access token carries the version it was issued under. A password reset or change, a log-out-everywhere, a change to a second factor, and an administrator's change of role or status raise it, which ends every access token issued before.
A person can see and end sessions
A signed-in person can list their sessions, end one, or end all of them.
Guarding the door

Passwords, guessing, and limits

Most attacks on a sign-in are guesses. Each guess is slowed, counted, or refused.

  • Passwords are hashed with bcrypt at cost 12, and a sign-in for an account that does not exist runs the same work against a fixed hash, so the answer's timing does not say which accounts exist.
  • A new password is checked against a list of breached passwords by sending only the first five characters of its hash, so the password never leaves Signet.
  • A second-factor challenge ends after repeated wrong codes. A person's second factor locks after repeated failures in an hour. A sign-in that reaches the second-factor step counts as an attempt until the factor completes it.
  • Every sign-in, token, and refresh endpoint is rate limited by client address, and a limited request answers 429 with the time to wait. A refresh has its own, higher limit, so a browser restoring a screen full of tabs is not refused.
  • Registration is closed by default. People join by invitation: Signet emails a single-use link to a page where the person sets a password, which also verifies the email address.
  • The refresh cookie is SameSite Strict, cross-origin requests are allowed only from an explicit list of origins, and the sign-in page's content security policy allows no inline script and no eval.
The record

What it records

An audit log records every administrative action, sign-in, sign-out, registration, password reset, invitation accepted, second-factor change, and account closure: who did it, from where, what was asked, and the status that came back. Passwords, tokens, and codes are removed from what is kept, and a failure to write a record never blocks the answer.

What people see

The sign-in pages

Signet carries its own small web app for the steps that need a person.

The sign-in pages
Sign inEmail and password, with the password's show and hide control
CodeOne field for the six-digit code, or for a recovery code, with the browser's one-time-code autofill
Forgot and reset passwordA time-limited link by email, then a new password checked against the breached-password list
Verify emailThe landing page for the verification link
Accept inviteWhere an invited person sets a password
Security settingsEnroll or remove an authenticator app, see the QR code and key, and replace the recovery codes

The pages follow the system's light and dark setting and turn their motion off under a reduced-motion preference.

Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.