-
Notifications
You must be signed in to change notification settings - Fork 4
Complete NextAuth OAuth implementation and documentation #581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
DocumentationNew |
…nd email…" This reverts commit 422e21b.
… docs - Merge PR 529 OAuth implementation (Google, Apple, Facebook providers) - Fix inline styles in auth-page-content.tsx to use design tokens - Expand oauth-setup.md with: - Architecture overview diagram - Prerequisites section - Environment variables reference tables - Step-by-step provider setup (Google, Apple, Facebook) - Email verification setup for multiple SMTP providers - Testing procedures - Production deployment checklist - Comprehensive troubleshooting guide
Existing users who registered before email verification was required have emailVerified set to NULL. This migration sets their emailVerified to their created_at timestamp, allowing them to continue logging in with the new email verification checks.
b17ea7f to
499b101
Compare
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
Test CoverageRate limiter tests are comprehensive with good coverage of edge cases (window expiry, different identifiers, IP extraction). However, no tests exist for:
DocumentationNew |
Security improvements: - Remove userId from registration response to prevent info disclosure - Add rate limiting to verify-email endpoint (20 req/min per IP) - Handle TooManyAttempts error in verification UI UX improvements: - Reduce timing attack delay from 2.5s to 1.5s - Use Ant Design icon prop for social buttons (better alignment) - Remove unnecessary inline styles from social login buttons
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
|
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
DocumentationNew |
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
Test Coverage NoteThe rate-limiter tests are good but there are no tests for:
This is acceptable for initial implementation but should be added for production readiness. |
- verify-email: Wrap user update + token delete in transaction - resend-verification: Wrap token delete + insert in transaction - register: Mark OAuth users as verified when adding password - register: Use transaction for OAuth password linking - social-login-buttons: Show single skeleton to minimize layout shift
Claude Review✅ Ready to merge - Minor issues noted below, but nothing blocking. Issues
|
No description provided.