Our.Umbraco.Passless 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Our.Umbraco.Passless --version 0.0.2                
NuGet\Install-Package Our.Umbraco.Passless -Version 0.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Our.Umbraco.Passless" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Umbraco.Passless --version 0.0.2                
#r "nuget: Our.Umbraco.Passless, 0.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Our.Umbraco.Passless as a Cake Addin
#addin nuget:?package=Our.Umbraco.Passless&version=0.0.2

// Install Our.Umbraco.Passless as a Cake Tool
#tool nuget:?package=Our.Umbraco.Passless&version=0.0.2                

Our.Umbraco.Passless - Passwordless login for Umbraco

Package NuGet
Our.Umbraco.Passless NuGet NuGet downloads

Passwordless login for Umbraco using FIDO2. Main implementation based on Fido2-net-lib a great implementation for any potential FIDO server.

Getting started

When you've installed and configured the package, log into the backffice, press your user icon in the top right corner and click Manage Fido Devices to add new devices.

Features

  • Passwordless login to the umbraco backoffice.
  • Register multiple Authenticators to your user
  • Platform (Windows hello etc) And Cross Platform (Android/Iphone via passkeys, YubiKey etc) Authenticators supported.

Planned features

  • Completely disable password login
  • Forgot password registers new authenticator
  • Passwordless login for members.
  • Better configuration for consumers
  • Umbraco 9 Support. This might take longer as the .net 5 version of fido2.net lib is quite outdated.

Known issues

  • The "Remember last authenticator" checkbox works poorly with passkeys, not sure if it can be helped?
  • The CSS styling could need a loving hand

Install

Use nuget to install Our.Umbraco.Passless

Install-Package Our.Umbraco.Passless

Configuration

You need to add these settings to your appsettings.config

 "Passless": {
   "useUmbracoDb" : true, //Optional
   "fido2": {
     "serverName": "{your server name}",
     "serverDomain": "{YOUR DOMAIN}",
     "origins": [ "{YOUR ORIGIN}" ],
     "timestampDriftTolerance": {drifttollerance in ms}
   }
 }

For example:

"Passless": {
   "fido2": {
     "serverName": "Passless",
     "serverDomain": "localhost",
     "origins": [ "https://localhost:44351" ],
     "timestampDriftTolerance": 300000
   }
}

Use Umbraco DB

The useUmbracoDB toggles whether we register our implementation of IFidoCredentialRepository and runs the migration adding the credentials table to the current umbraco database.

Set this to false, and register your own implementation if you want to use a different database for the users credentials.

Frontend

While working on the frontend navigate to src/UmbracoFidoLogin/UI and run npm run dev The current webpack setup is just a dumb Webpack-copy step

Special thanks to:

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.5 228 4/12/2023
0.0.4 229 3/5/2023
0.0.2 266 1/29/2023
0.0.1 267 1/28/2023

- Enabled toggling the use of the umbraco database.
     - Renamed some FE FIDO mentions to Passless
     - Fixed some nullability checks