ASP.NET Core 6.0 - Users With Device 2FA Project
The Users With Device 2FA Project (UWD2P) implements ASP.NET Core 6.0 with Visual Studio 2022. The project implements WebAuthn, also known as FIDO2, instead of authenticator apps for two-factor authentication (2FA). The project implements Bootstrap v5 and Bootstrap Native. After a user registers, they can enable 2FA with Windows Hello, Android Lock Screen, or a FIDO2 security key. If I had this project when I created KenHaggerty. Com three years ago, I would have started with this user authentication template. Windows Hello implements authentication with an IR webcam for facial recognition, a fingerprint scanner, or just by setting up and using a PIN. See Learn about Windows Hello and set it up.
I created a new ASP.NET Core 6.0 Razor Pages Project then integrated the ASP.NET Core 5.0 - Users Without Identity Project and the ASP.NET Core 5.0 - Users Without Passwords Project. I enabled the nullable context and mitigated all warnings and issues. I also implemented global usings and file scoped namespaces. The project supports multiple authenticators and authenticator challenge history including failed attempts. Challenges which fail before associating to a known credential are orphaned. Admins can list users, credentials, and all invalid challenges. The latest version is published at Preview. KenHaggerty. Com. I encourage you to register and evaluate multiple 2FA devices in Manage Account > Two-Factor Authentication.
V1.2.2 - MIT License - $10 Access Fee - UsersWithDevice2FAProject@1.2.2.zip - 2,592,957 bytes
Not accepting new comments.
Your comment has been submitted.
You will be emailed when approved.
Submit your comment. Comments are moderated.
DisplayedName - Member Since ?
Change Log
-- Updated MS NuGet Packages@6.0.12
-- Updated MailKit NuGet Package@3.4.3
-- Updated Bootstrap@5.2.3
-- Updated BootstrapIcons@1.10.2
v1.2.1 - 2022-10-12
-- Updated Admin AppUsers Credentials UI
-- Updated TPM attestation verification
-- Updated MS NuGet Package@6.0.10
-- Updated Bootstrap@5.2.2
-- Continuity and bug fixes
v1.2.0 - 2022-09-15
-- Implemented Apple attestation verification
-- Updated Known TPM Manufacturers list
-- Updated TermsOfServiceDate formatting
-- Updated MS NuGet Package@6.0.9
-- Updated MailKit NuGet Package@3.4.1
-- Updated Bootstrap@5.2.1
-- Continuity and bug fixes
v1.1.9 - 2022-08-12
-- Updated MS NuGet Package@6.0.8
-- Updated Twitter-Bootstrap@5.2.0
-- Updated dynamic-modals.js@2.0.0
-- Updated Bootstrap Icons@1.9.1
-- Updated DateTime formats
-- Continuity and bug fixes
v1.1.8 - 2022-07-16
-- Updated MS NuGet Package@6.0.7
-- Updated Bootstrap Icons@1.9.0
-- Continuity and bug fixes
v1.1.7 - 2022-06-16
-- Updated MS NuGet Package@6.0.6
-- Updated MailKit NuGet Package@3.3.0
-- Continuity and bug fixes
v1.1.6 - 2022-06-03
-- Updated Bootstrap Native@4.2.0
-- Updated Bootstrap Icons@1.8.3
-- Continuity and bug fixes
v1.1.5 - 2022-05-20
-- Updated MS NuGet Packages@6.0.5
-- Updated Bootstrap Icons@1.8.2
-- Updated NSec.Cryptography NuGet Package@22.4.0
-- Updated Edit User
-- Updated AppUserClaims
-- Continuity and bug fixes
v1.1.4 - 2022-04-25
-- Implemented Bootstrap Icons@1.8.1
-- Updated MS NuGet Package@6.0.4
-- Updated MailKit NuGet Package@3.2.0
-- Updated Bootstrap-Native@4.1.2
-- Updated IdleLogout integration
-- Updated Email template
-- Continuity and bug fixes
v1.1.3 - 2022-03-11
-- Implemented VerifyNoAttestationStatement option
-- Implemented Seeded Users
-- Implemented pagination for User's Index
-- Implemented sorting and filtering for User's Index
-- Implemented login name and email search for User's Index
-- Updated MS NuGet Packages@6.0.3
-- Updated Bootstrap-Native@4.1.1
-- Updated AppSettings.cs
-- Updated IdleLogout demonstration
-- Continuity and bug fixes
v1.1.2 - 2022-02-08
-- Implemented IdleLogout options
-- Implemented RememberMeDays options
-- Updated MS NuGet Packages@6.0.2
-- Continuity and bug fixes
v1.1.1 - 2022-01-30
-- Protected SuperGroup
-- Implemented User Impersonation
-- Updated Sample Terms of Service
-- Updated MailKit NuGet Package@3.1.1
-- Continuity and bug fixes
v1.1.0 - 2022-01-21
-- Implemented claims-based authorization
-- Updated MailKit NuGet Package@3.1.0
-- Updated PeterO.Cbor NuGet Package@4.5.2
-- Continuity and bug fixes
v1.0.7 - 2022-01-09
-- Updated DataProtection Settings
-- Continuity and bug fixes
v1.0.6 - 2022-01-01
-- Updated DataProtection Settings
-- Continuity and bug fixes
v1.0.5 - 2021-12-15
-- Migrated ChallengeOptions to AppSettings
-- Migrated AesCrypto CipherKey and CipherIV to AppSettings
-- Implemented dynamic-modals.js
-- Implemented Global EnableCookieConsent
-- Implemented Revoke Cookie Consent
-- Updated MS NuGet Packages@6.0.1
-- Updated Mailkit NuGet Packages@3.0.0
-- Updated PeterO.Cbor NuGet Packages@4.5.0
-- Updated Bootstrap-Native@4.0.7
-- Updated UserService
-- Updated Terms Of Service
-- Updated Must Accept Cookies
-- Continuity and bug fixes
v1.0.4 - 2021-11-08
-- General Availability - NET 6.0
-- Updated MustChangePassword Middleware
-- Updated TermsOfService Middleware
-- Updated Admin and ReturnUrl routing
-- Implemented Global EmailAdminEvent
-- Updated Error page
-- Continuity and bug fixes
v1.0.3 - 2021-11-03
-- Implemented AppUserClaim entity
-- Migrated Administrator property to AppUserClaim
-- Migrated MustChangePassword property to AppUserClaim
-- Migrated TwoFactorEnabled property to AppUserClaim
-- Implemented Terms Of Service
-- Updated UserService
-- Updated SignInService
-- Updated Privacy Policy Page
-- Continuity and bug fixes
v1.0.2 - 2021-10-30
-- Verified NET @6.0.0-rc.2.21480.10
-- Implemented Global DateTime Formats
-- Implemented Refresh Permission Claims
-- Updated CookieValidator
-- Updated GetDescription Enum Extension
-- Continuity and bug fixes
v1.0.1 - 2021-10-26
-- Continuity and bug fixes
v1.0.0 - 2021-10-20
-- Release Canidate
-- Implemented Verify Attestation Data
Comments(0)