Skip to content

Two-factor authentication enrollment - #480

Open
Peculiarr7 wants to merge 1 commit into
Betta-Pay:mainfrom
Peculiarr7:yarinya
Open

Two-factor authentication enrollment #480
Peculiarr7 wants to merge 1 commit into
Betta-Pay:mainfrom
Peculiarr7:yarinya

Conversation

@Peculiarr7

Copy link
Copy Markdown

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

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

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.

@therealjhay

Copy link
Copy Markdown
Contributor

kindly resolve conflict

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.

Two-factor authentication enrollment

2 participants