This repository contains sample implementations demonstrating how to integrate FIDO2 authentication in ASP.NET Core applications using Rock Solid Knowledge's FIDO2 for ASP.NET component.
The FIDO2 for ASP.NET component, available from identityserver.com, enables WebAuthn support in ASP.NET Core applications, allowing for secure passwordless and two-factor authentication using biometric and security key credentials.
- Core - Basic FIDO2 implementation with in-memory storage
- EntityFramework - Advanced implementation using Entity Framework Core for FIDO2 credential storage
- Passwordless - Implementation of passwordless authentication flow using FIDO2
Additional samples demonstrating integration with various authentication scenarios:
- FidoWithAspnetIdentity - Integration with ASP.NET Core Identity
- FidoWithAspnetIdentityAndWebAuthNJson - ASP.NET Core Identity with WebAuthn.json support
- FidoWithAspnetIdentityPasswordless - Passwordless authentication with ASP.NET Core Identity
- FidoWithIds - Integration with IdentityServer
- .NET 8.0 SDK or later
- Visual Studio 2022, VS Code, or JetBrains Rider
- Valid license key for FIDO2 for ASP.NET component
- Clone this repository
- Obtain a license key (see below)
- Configure the license key in the project's configuration
- Run any of the sample projects using
dotnet run
Comprehensive documentation is available at:
You can obtain a license key in one of two ways:
- Sign up for a demo license at our products page
- Contact our sales team at [email protected]
For support questions:
- Check our documentation
- Contact [email protected]
This sample code is licensed under the Apache License 2.0. See the LICENSE file for details.
The FIDO2 for ASP.NET component requires a commercial license from Rock Solid Knowledge.