• 0.4.1 40a3477639

    BlackHatMagic released this 2026-11-05 03:24:24 +00:00 | 0 commits to master since this release

    Behold.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, and styles.css in <vault>/.obsidian/plugins/behold-quest/ and reload. Preserve data.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_PROVIDERS or signing/encryption secrets. Existing registrations remain valid. Add other provider registrations through operator/admin configuration, not end-user setup.

    See docs/DEPLOY.md for OAuth/OIDC fields and docs/TESTING.md for 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 at 93479c467e69e1dc4a09e1adb8759978e7a2ddd9 reported no actionable findings. Checks rerun on merged master.

    Production vault Worker 96cb78f5-b706-4608-8ff5-db54152421e3 and login Worker 5bcc6e8e-7169-4228-bf9d-efd675cba7d3 deployed 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.zip
    
    Downloads