Skip to content

RockSolidKnowledge/Samples.Fido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIDO2 for ASP.NET Core Samples

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.

Overview

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.

Sample Projects

Core Samples

  • 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

Video Example Code

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

Prerequisites

  • .NET 8.0 SDK or later
  • Visual Studio 2022, VS Code, or JetBrains Rider
  • Valid license key for FIDO2 for ASP.NET component

Quick Start

  1. Clone this repository
  2. Obtain a license key (see below)
  3. Configure the license key in the project's configuration
  4. Run any of the sample projects using dotnet run

Documentation

Comprehensive documentation is available at:

Obtaining a License

You can obtain a license key in one of two ways:

Support

For support questions:

License

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.