You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove legacy authentication code - use Better Auth only
Breaking changes:
- Removed all Passport.js and dual authentication code
- Removed lib/dual-auth.js, lib/better-auth-verify.js, lib/steam-auth.js.backup
- Created simplified lib/auth.js with Better Auth only
- Updated all endpoints to use requireAuth instead of dualAuth
- No more JWT token support - only Better Auth session tokens
Benefits:
- Cleaner, simpler codebase
- Only one authentication method
- All users must use Better Auth (Next.js frontend)
- Automatic user sync to legacy users table still works
Backend now ONLY accepts Better Auth session tokens from Next.js frontend.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments