fix/auth: restore simple provider-neutral OAuth/OIDC sign-in (0.4.1) #39
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/provider-neutral-signin"
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?
Closes #38.
Requirements / UX
Identity / compatibility
Verification
75 tests pass (shared 7 / worker 29 / plugin 39), typecheck, production build, git diff --check. Covers arbitrary non-Discord configured providers end-to-end through shared directory, guest local-OIDC identity recovery, collision/replay preservation, subject-field validation, OIDC verification, native provider discovery failure fallback, no default Discord requirement, one-provider direct path, no providers, neutral UI and no implicit login-service call during settings render.
Release / limitations
Prepares 0.4.1. No registrations or secrets changed, no deployment yet. OAuth authorization-code/PKCE and standard OIDC supported; proprietary grants/form-post-only callbacks/dynamic client assertions still require vendor adapters. Only already-configured apps are offered; this does not magically register third-party apps. Known multi-window Obsidian return/Reopen limitations unchanged; full new browser/device flows, Android and iOS not certified by automated tests. Release will wait for latest-head bot review and verified findings.
Initial bot job 1295 failed output validation (model returned no valid JSON review), not an approval. Explicitly retried only this failed PR/head job using the same queued/error-reset transition as the supported retry handler, without changing model selection or accepting failed output. All local 75 tests/typecheck/build remain passing; merge/release gated on successful latest-head review.
Pi code review
0 new actionable findings
No new actionable findings. Previously reported issues, if any, are tracked below.
Aggregated the candidate reviews of the provider-neutral sign-in change against the pinned base and head. This read-only review could not run tests, typechecks, builds, or live provider flows.
Change walkthrough
packages/plugin/src/account-login.ts,packages/plugin/src/ui/account-provider-modal.ts,packages/plugin/src/main.ts,packages/plugin/src/ui/settings-tab.ts(+7 more)packages/plugin/src/account-login.test.ts,packages/plugin/src/ui/settings-tab.test.ts,packages/worker/src/account.test.ts,packages/worker/src/login-provider.test.ts(+2 more)README.md,docs/DEPLOY.md,docs/TESTING.mdReview effort: 4/5.
Static observations (not validation results)
Reviewed
93479c467e69e1dc4a09e1adb8759978e7a2ddd9withproxy/glm-5.3-flash + proxy/deepseek-v4.1-flash + proxy/gpt-6.1-sol → proxy/gpt-6.1-terra. Automated advisory review; no project commands or tests were executed.Review gate: successful review 468 on exact head
93479c467ereports zero actionable findings after explicit retry of output-schema failure. Local 75 tests/typecheck/build/diff checks pass; Forgejo has no Actions workflows or blocking commit statuses configured. Proceeding with authorized merge and 0.4.1 release; deployment will preserve existing provider configuration, secret bindings and user identities. Browser/device verification limitations remain explicit.Merged
40a3477after review 468 found no actionable issues on exact head93479c4. Re-ran 75 tests/typecheck/build/package checks on merged master. Released https://git.bhm.gg/BlackHatMagic/Behold.quest/releases/tag/0.4.1 with ZIP/checksum/individual files; downloaded published ZIP and verified hash. Deployed vault 96cb78f5-b706-4608-8ff5-db54152421e3 and login 5bcc6e8e-7169-4228-bf9d-efd675cba7d3 preserving provider secrets/config and bindings; health/config pass, original Anastasia guest session reports accountSignInLinked and sharedSignInLinked true. Installed release to all four vaults, data.json and notes unchanged. Production currently registers only Discord at shared hub; arbitrary configured OAuth/OIDC/backend-local providers are now automatically offered, no code change required. Newly registered third-party browser/device flows remain unverified; release notes state supported protocols and existing browser-return limitations.