Skip to content

Deduplicate verified auth accounts by email#3

Merged
DerpcatMusic merged 4 commits into
masterfrom
auth-dedupe-fix
Mar 12, 2026
Merged

Deduplicate verified auth accounts by email#3
DerpcatMusic merged 4 commits into
masterfrom
auth-dedupe-fix

Conversation

@DerpcatMusic
Copy link
Copy Markdown
Owner

Summary

  • deduplicate verified same-email auth accounts before provider linking so Google and email sign-in converge on one Queue user
  • add safe migration entrypoints for existing verified duplicate emails and skip mixed-role or unverified account sets
  • merge duplicate instructor or studio references and cover the new trust model with contract tests

Validation

  • bun test "tests/contracts/auth-dedupe.contract.test.ts" "tests/contracts/backend-hardening.contract.test.ts"
  • bun run typecheck

@DerpcatMusic DerpcatMusic merged commit 48511e8 into master Mar 12, 2026
3 checks passed
@DerpcatMusic DerpcatMusic deleted the auth-dedupe-fix branch March 12, 2026 23:59
DerpcatMusic added a commit that referenced this pull request Apr 15, 2026
Deduplicate verified auth accounts by email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant