web: A mode without sign-in, for the demo and tests #29

Merged
dev merged 2 commits from web-no-sign-in into main 2026-11-30 01:08:31 +00:00
2 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 eefb04ff48 demo: Make sign-in to the web app optional
CI / Check (pull_request) Successful in 6m23s
CI / Check (push) Canceled after 0s
The demo's web app has no sign-in by default, so trying it doesn't
need a one-time link and a passkey. `slopDemo.signIn = true;` in
`devenv.local.nix` brings back Pocket ID, now in `sign-in.nix`, for
trying sign-in and passkeys, which approving `router` needs.

Refs #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:19:26 +00:00
jackos1998andClaude Opus 5.5 950b757ca3 web: Add a mode without sign-in, for the demo and tests
`[web.no_sign_in]` instead of the OIDC settings makes everyone who
reaches the web app one approver, so the demo needn't run a sign-in
provider and tests can use the app. It only listens on a loopback
address, every page says there's no sign-in, the audit log records
`<name> (web, no sign-in)`, and it can't approve requests that need a
passkey. The NixOS module has it only as an internal option, for the
VM test.

The VM test uses it to check a finished deploy's page, the event
stream, and answering a request with the session's token.

Refs #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 00:19:26 +00:00