-
released this
2026-11-05 03:24:24 +00:00 | 0 commits to master since this releaseBehold.quest 0.4.1 — provider-neutral account sign-in
Fixes the 0.4.0 regression that hardcoded Discord in the primary account controls.
Simple sign-in
- Link account on an existing signed-in device; Already have an account or invite? → Sign in on another device.
- One configured provider opens directly. Multiple providers use one picker. Closing the picker cancels without signing in or changing a vault.
- Shared-service and backend-local OAuth/OIDC providers are offered together, with source labels. Discord is an optional registration, not a code dependency.
- Provider discovery happens only after an explicit action, never when settings opens. Ordinary users do not enter client IDs, scopes, secrets, or callback URLs.
- Cloudflare remains separate hosting authorization. Authentication never selects a vault or uploads notes.
Identity and safety
- Existing Discord directory entries and identity hashes are preserved; no relinking, account recreation, or new invite is required.
- Backend owners and guests can link providers to their existing user without merging accounts, promotion, or new invitation authority. More identities can be added under collapsed Account-link recovery.
- Backend link status includes enabled backend-local identities, not just shared-service identities.
- Configurable OAuth profile subject fields and token authentication (
client_secret_post,client_secret_basic,none), plus public PKCE apps. - OIDC ID-token-only responses are supported with signature/JWKS, issuer, audience, expiry, nonce, authorized-party and userinfo-subject validation. The previous backend-local unsigned JWT fallback is removed.
Upgrade
Replace only
main.js,manifest.json, andstyles.cssin<vault>/.obsidian/plugins/behold-quest/and reload. Preservedata.json, sessions, recovery keys, local Yjs state, and notes.Backend owners should explicitly use Advanced → Update backend to enable guest backend-local linking and accurate local identity status. Ordinary sign-in does not redeploy or rotate secrets. Operators deploying the shared login service should update its Worker code without replacing
LOGIN_PROVIDERSor signing/encryption secrets. Existing registrations remain valid. Add other provider registrations through operator/admin configuration, not end-user setup.See
docs/DEPLOY.mdfor OAuth/OIDC fields anddocs/TESTING.mdfor provider-neutral device tests.Verification and limitations
75 automated tests, typecheck, build, and ZIP checks pass. Includes arbitrary provider IDs, non-Discord shared recovery, guest backend-local OIDC recovery, collision/replay preservation, custom subjects, and rejection of invalid OIDC tokens.
OAuth/OIDC implementations are provider-neutral, not a promise of every proprietary protocol extension: authorization-code/PKCE and configured userinfo or verified OIDC are supported. Form-post-only callbacks, proprietary grants, and dynamic client assertions still need adapters. Real third-party login/device flows for newly configured providers are not certified by tests. Existing multi-window
obsidian://return and one-use Reopen browser limitations are unchanged; Android's new flow and iOS remain unverified.Review / deployment
PR #39 merged as
40a34776391fe66c00f577ca03828e93fd25c524. Review #468 on the identical tree at93479c467e69e1dc4a09e1adb8759978e7a2ddd9reported no actionable findings. Checks rerun on merged master.Production vault Worker
96cb78f5-b706-4608-8ff5-db54152421e3and login Worker5bcc6e8e-7169-4228-bf9d-efd675cba7d3deployed without secret rotation or provider registration changes. Existing guest /me reports both account and shared identity linked for the original user. The four test vaults received the release plugin files with settings and notes unchanged.The production shared service currently has Discord as its only registered identity app. The code no longer depends on it; additional providers require operator registration or backend-local configuration and then appear automatically. No unregistered vendor is advertised as live.
SHA-256
c54811c8e6d42b4ff7c8dcbdd9f167341cc4058f9822514af78c26d737cb2717 behold-quest-0.4.1.zipDownloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
5 downloads
-
Behold.quest 0.4.0 Stable
released this
2026-11-04 02:28:36 +00:00 | 1 commits to master since this releaseBehold.quest 0.4.0
Highlights
- One-button Cloudflare sign-in and hosting: authorize in the browser, reconnect without redeploying, or explicitly confirm first-time hosting in your own Cloudflare account. No client IDs, API tokens, scopes, or manual backend fields for normal setup.
- Discord identity across devices: backend owners and guests can link their existing user and recover the same owned vaults and shared memberships on another device. No new invitation or account required per device. Linking does not grant roles or invitation authority.
- Accurate link status: settings reads the authenticated backend, so a successful link remains visible even when the browser return fails. Relinking is collapsed under recovery.
- Independent sharing authority: only actual vault owners share their vault; only backend owners invite new backend users. Guests can own and share their own vaults.
- Live-editor recovery: restores Yjs bindings after Obsidian resets CodeMirror state and preserves edits made while unbound or offline.
- Resilient file scanning: ignores hidden trees before traversing them and continues past unreadable files/folders instead of aborting the whole vault sync.
- Explicit backend repair: accessible during backend outages and interrupted setup, preserving original keys and secrets. Missing-Worker restoration validates the surviving database and original vault namespace; missing populated storage fails closed.
Installation / update
Download
behold-quest-0.4.0.zipand extract thebehold-questfolder into<vault>/.obsidian/plugins/. Replace onlymain.js,manifest.json, andstyles.css, then reload Obsidian. Preservedata.json, local Yjs state, recovery keys, and notes.Authentication never selects a vault or uploads notes automatically. Explicitly create or select the vault you want to sync.
Backend changes require Advanced → Update backend on your hosting device. Ordinary sign-in never deploys or rotates secrets. Operators deploying manually must configure the API hostname as a Worker Custom Domain, not only a wildcard route. Shared-login operators must exempt only the native
/v1/login API from Browser Integrity Check; seedocs/DEPLOY.md.Validation
64 automated tests, TypeScript typechecking, production build, whitespace checks, and ZIP contents verified. Production checks verified same-zone Worker routing, native login API access from the test device, and the existing guest's linked identity without changing its user ID.
Known limitations
- Multi-window
obsidian://returns are not yet targeted to the initiating vault. If the return fails, keep the original final browser page and waiting Obsidian dialog open; expand Obsidian did not open? in the browser and paste its completion code under Browser did not return? in the initiating dialog. The flow expires after five minutes. Reopen browser reuses the one-use start URL and cannot recover a completed flow. - Complete browser/device sign-in and bidirectional live Obsidian sync are not certified by the automated tests or network checks. New Android flow still needs validation; iOS is untested.
- Live sync data is server-readable; only client-side encrypted archives are opaque to the backend. Old history is not automatically scrubbed.
Review and provenance
PR #34 squash-merged as
277168eed7219473d4db7083e09c7b89cb1592e3. Review #467 checked the identical release tree atf7f88474dad84b7b37f914d77dd8e57e95067d82: no new actionable findings; all four earlier findings resolved. Checks rerun on merged master.SHA-256
e642a3c068c4c5df1de1cf4f8bfab1f00ea0a4d6a7b4f9c62dec5cd5e5cf4bf6 behold-quest-0.4.0.zipDownloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
4 downloads