Roadmap¶
The full build plan and every open issue live in
provider/PLAN.md. This is
the summary.
Phases¶
| Phase | Focus | Status |
|---|---|---|
| 0 | Foundation — config, database, models, security, seed | Done |
| 1 | AuthZ core — discovery, JWKS, authorize + PKCE, token, userinfo, sign-in | Done |
| 2 | Admin — users, groups, roles, APIs, scopes, clients | Done |
| 3 | SSO — prompt, max_age, sid, single sign-out |
Done |
| 4 | Self-service — profile, org-defined fields, credentials, TOTP | Done |
| 5 | Biometrics — kiosk enrolment, face as a second factor, liveness | Done |
| 6 | Hardening — Docker, security headers, error contract, probes, coverage review | Done |
| 7 | Frontends — the sign-in UI and the dashboard | Done |
| 8 | Kiosks — registered devices, pairing, the Raspberry Pi enrolment app | Done |
Phase 7 shipped both browser applications: auth-ui (password, TOTP and consent) and the
dashboard (self-service plus all seven admin resources, each gated on its read scope). Their own
phased plan, with the same Status notes, is
web/PLAN.md. What is outstanding there
is a visual review: the screens have been verified functionally and in containers, not walked through
in a browser with a designer's eye.
Migrations, the audit log, and rate limiting were all pulled forward out of Phase 6. Each was scheduled late and each got more expensive with every phase that passed — history not written is lost, and an unmigrated schema needs manual surgery.
Phase 5 was held back while Phase 7 went ahead — the biometric module is the only part with an external dependency — and is now done: faces enrolled at a kiosk with a ticket the person creates, compared 1:1 only, and offered as a second factor after a password. Before relying on faces, read what the liveness checks do not stop.
Phase 8 made the kiosk real: each one registered in the dashboard with a client of its own, paired with a one-time code, reporting its health every minute, and revocable on its own; and the app it runs — a touchscreen page on a Raspberry Pi, served by a local process that holds the secret. See Kiosks. Not yet done: a kiosk walked through end to end with a real face on the real hardware, and its camera tuned in the light it will stand in.
Open issues¶
| Issue | Consequence | |
|---|---|---|
| KI-9 | One token can carry several audiences | Ask for admin and entity scopes together and both are in aud. Standard, but a compromised resource server could replay the token at the other. |
| KI-17 | An audit row is not atomic with its change | Written just after; a database failure in between loses the record. Logged loudly. |
| KI-18 | The engine speaks plain HTTP | On another machine, faces cross the network between it and the provider unencrypted. Until it serves TLS, keep both on a network you trust. |
| KI-19 | IDEN sends no email | There is no mail transport, so self-service password recovery was removed rather than shipped broken: an administrator resets a forgotten password. Nor is a person told by email when a face is enrolled on their account; it shows on their Security page and in the kiosk's history. Adding a transport brings both back. |
| KI-20 | Administration does not require a second factor | An administrator who signed in with a password alone holds every admin scope they were granted; acr is recorded in the token but no admin route asks for more. Enrol an authenticator on every administrator account — IDEN then demands it at each sign-in. Requiring it, or a fresh sign-in before destructive changes, needs step-up handling across the dashboard's admin screens. |
Federation¶
Sign in with Google, or with a campus SAML server — deliberately out of scope, and worth explaining rather than leaving implied.
The protocol is the easy part. The hard part is account linking: matching an incoming federated identity to an existing local account by email address is the obvious shortcut and a well-known account takeover, because it trusts the upstream provider's word about an address it may not own.
The safe rules — link only on a verified address from a provider trusted for that domain, or require an explicit link from an already signed-in session — are what make it a phase of work rather than an afternoon's.
What is deliberately not planned¶
| Why | |
|---|---|
| Multi-tenancy | The single-organization decision is what removes an entire dimension of complexity from every model and query. Run two deployments. |
| SAML as an identity provider | A large amount of XML signing for a protocol IDEN would otherwise never touch. Only worth it if a system you must integrate with demands it. |
| Account deletion by the account holder | In a single-organization deployment the organization owns the identity. A deactivation request is the affordance to build if one is wanted. |
| Implicit and password grants | Discouraged by OAuth 2.1 and unnecessary given the two flows that exist. |