Two-factor authentication enrollment - #480
Open
Peculiarr7 wants to merge 1 commit into
Open
Conversation
|
Someone is attempting to deploy a commit to the therealjhay's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
kindly resolve conflict |
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.
Description
This PR introduces a two‑factor authentication (2FA) enrollment flow to strengthen account security and protect user data. The feature ensures that contributors and users can add an extra layer of protection beyond passwords.
Key Features
Enrollment Flow
Guided setup for enabling 2FA on user accounts.
Support for time‑based one‑time passwords (TOTP) via authenticator apps.
Backup codes generated during enrollment for account recovery.
User Experience
Clear prompts and instructions during setup.
Secure storage and display of backup codes.
Error handling for invalid or expired codes.
Security Enhancements
Enforces 2FA for sensitive operations (e.g., repository settings, billing).
Provides audit logs of 2FA enrollment and usage.
Aligns with industry best practices for account protection.
Motivation
Strengthens account security against credential theft.
Reduces risk of unauthorized access to repositories and sensitive data.
Improves trust in the platform by aligning with modern security standards.
Implementation Notes
Added backend endpoints for 2FA enrollment and verification.
Integrated frontend components for setup and code entry.
Documentation updated with enrollment instructions and recovery steps.
Checklist
[x] Backend API for 2FA enrollment implemented
[x] Frontend flow for setup completed
[x] Backup codes generation and storage added
[x] Documentation updated
close #463