Skip to content

ITfoxtec/dotnet.samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoxIDs .NET Samples

This repository contains .NET samples used in FoxIDs blog posts, demos, and conference talks. Each sample illustrates a specific scenario for integrating .NET applications or APIs with FoxIDs, including OpenID Connect, OAuth 2.0, SAML 2.0, and passwordless authentication.

The examples are intended as lightweight, easy-to-understand reference implementations that you can copy, run, or adapt for your own projects.

Samples

ASP.NET Core Passwordless Authentication with FoxIDs (Email OTP)

Folder: WebAppPasswordLessEmail
This sample demonstrates how to authenticate users in an ASP.NET Core application using FoxIDs with OpenID Connect and a passwordless flow based on one-time codes sent via email.
A detailed walkthrough is available in the Medium article:
Passwordless Authentication in ASP.NET Core with FoxIDs and Email-based OTP.

Key features:

  • Email-based OTP login flow
  • OpenID Connect integration with FoxIDs
  • Minimal Razor Pages app (works similarly in MVC or Blazor)
  • Runs locally on https://localhost:7283

Passwordless Authentication in an AI-Generated ASP.NET Core App with FoxIDs and Email-Based OTP

Folder: WebAppPasswordLessEmailAI
This sample shows how an AI-generated ASP.NET Core application can be integrated with FoxIDs to support passwordless authentication using one-time codes delivered by email.
It illustrates how AI-assisted code generation can be combined with secure identity workflows.

A detailed explanation of this version is available in the Medium article:
Passwordless Authentication in an AI-Generated ASP.NET Core App with FoxIDs and Email-based OTP.

Key features:

  • AI-generated Razor Pages application structure
  • Email-based OTP authentication
  • OpenID Connect integration with FoxIDs
  • Fully functional example running on https://localhost:7283

Get Started

  1. Create a free FoxIDs tenant: https://www.foxids.com
  2. Set up an environment
  3. Open any sample in Visual Studio or with the .NET CLI
  4. Follow the README inside each sample folder

Documentation

Full documentation is available at: https://www.foxids.com/docs

About

.NET samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published