chore(site): re-record the demo replay for the editor sign-in pages #194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/vloer-editor-sign-in-approval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The browser gained the editor approval and Signed-in editors pages and the
replay refuses their routes, so the recorded file hashes changed.
Three commits: Vloer ADR-0037 (accepted per the owner's 2026-10-03 go-ahead on the ticket), the fix, and a separate chore(site) replay re-record. Signing in only claims the editor ticket; the person must approve on a page showing the same user code as VS Code. Approval mints a separate 30-day vle_ bearer credential (hash-only in SQLite, editor scope cannot approve or mint more, revocable in Settings › Signed-in editors; revocation also kills its Agent Host tokens). The original phishing flow is a test and now fails. RELEASE NOTE: a VS Code extension built before this change cannot complete browser sign-in against the new server; update both together.
Verified with
mise run verifyon the pinned toolchain (all gates passed).Ticket: https://vikunja.webgrip.dev/tasks/1718
🤖 Generated with Claude Code
Signing in through an editor's link no longer completes the ticket. The callback records who signed in and lands on an approval page that names the request ("A VS Code editor is asking to sign in to <workbench> as you"), shows the short code the editor also shows, and offers Approve and Deny. Polling stays pending until approval; a denied, expired, consumed or mismatched ticket yields nothing. Approval issues a vle_ bearer token, stored only as a hash in editor_credentials, scoped to keep it from approving or managing editors, valid for thirty days, and listed under Settings > Signed-in editors where the person can sign it out together with the Agent Host tokens it issued. Ticket starts are limited per address and polls answer slow_down when they come too fast. The extension shows the code, honours slow_down and sends the credential as Authorization: Bearer. VIK-1718 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>26648db057b9d707ba5ab9d707ba5ad6aa7e81f5d6aa7e81f59ada416ab3