Skip to content

Add two-factor authentication (2FA) support#868

Open
poppastring wants to merge 1 commit into
mainfrom
totp-two-factor-auth
Open

Add two-factor authentication (2FA) support#868
poppastring wants to merge 1 commit into
mainfrom
totp-two-factor-auth

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Add two-factor authentication (2FA) support

Implemented TOTP authenticator app and recovery code support for user accounts. Added TwoFactorSettings and RecoveryCode types, updated User and DasBlogUser models, and extended DasBlogUserStore for 2FA persistence and validation. Integrated 2FA flows in AccountController, including QR code setup (QRCoder), code verification, and recovery code management. Updated AutoMapper profiles, admin UI, and added new Razor views for 2FA. Registered QRCoder package and added unit tests for 2FA logic and serialization.

Implemented TOTP authenticator app and recovery code support for user accounts. Added TwoFactorSettings and RecoveryCode types, updated User and DasBlogUser models, and extended DasBlogUserStore for 2FA persistence and validation. Integrated 2FA flows in AccountController, including QR code setup (QRCoder), code verification, and recovery code management. Updated AutoMapper profiles, admin UI, and added new Razor views for 2FA. Registered QRCoder package and added unit tests for 2FA logic and serialization.
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