Merge latest main and add phased auth roadmap#144
Draft
Copilot wants to merge 7 commits into
Draft
Conversation
- Add totpSecret/totpEnabled columns to User schema - Create edge-compatible TOTP utility (Web Crypto HMAC-SHA1) - Add backend routes: password/change, totp/setup, totp/enable, totp/disable - Add passkeys routes: list, register-options, register-verify, delete - Add credentials/preflight endpoint for TOTP-aware login - Modify credentials authorize to verify TOTP codes - Update client API with all new functions - Wire routes in router.ts Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com> Agent-Logs-Url: https://github.com/thinkdj/ottabase/sessions/f26604b8-2585-4e32-8a0f-dabeed136fd3
…gement - Add ChangePasswordDialog with validation and password strength rules - Add TotpSetupDialog with inline QR code generation (no external deps) - Add PasskeyManager for WebAuthn enrollment and deletion - Update UserProfilePage security card with working controls - Update LoginPage with TOTP verification dialog - Update signInWithCredentials to accept TOTP codes - Add preflight credentials check for TOTP-aware login flow Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com> Agent-Logs-Url: https://github.com/thinkdj/ottabase/sessions/f26604b8-2585-4e32-8a0f-dabeed136fd3
- Add 19 TOTP utility tests (base32, secret generation, code verification) - Fix TypeScript Uint8Array buffer type compatibility in backend-handler.ts - All packages build successfully, all 111 tests pass Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com> Agent-Logs-Url: https://github.com/thinkdj/ottabase/sessions/f26604b8-2585-4e32-8a0f-dabeed136fd3
- Add JSDoc to defaultCredentialsAuthorize documenting TOTP support - Add security comment about totp_secret being server-side only - Allow both platform and cross-platform authenticators for passkeys - Remove unused hasPassword state from UserProfilePage - Fix test assertion for incorrect TOTP code rejection Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com> Agent-Logs-Url: https://github.com/thinkdj/ottabase/sessions/f26604b8-2585-4e32-8a0f-dabeed136fd3
Copilot
AI
changed the title
[WIP] Implement security audit recommendations for 2FA and password management
feat: end-to-end password change, TOTP 2FA, and WebAuthn passkeys
Mar 23, 2026
Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com>
Copilot
AI
changed the title
feat: end-to-end password change, TOTP 2FA, and WebAuthn passkeys
Merge latest main and add phased auth roadmap
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This syncs the branch with the latest
mainand resolves the resulting route-registry conflict. It also adds a repo-specific auth roadmap that reflects Ottabase’s current auth surface and the highest-value next steps for a production SaaS framework.Merge sync
origin/maininto this branchapps/ottabase-template-app-tanstack/worker/routes/router.tsmainAuth roadmap
ROADMAP_AUTH.MDat the repo root@ottabase/authas the reusable corePriority direction captured in the roadmap
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.