Our.Umbraco.Passless
0.0.2
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
<PackageReference Include="Our.Umbraco.Passless" Version="0.0.2" />
paket add Our.Umbraco.Passless --version 0.0.2
#r "nuget: Our.Umbraco.Passless, 0.0.2"
// 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 |
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:
- D-Inventor for his Angular JS support
Product | Versions 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. |
-
net6.0
- Fido2 (>= 3.0.1)
- Fido2.AspNet (>= 3.0.1)
- Umbraco.Cms.Core (>= 10.3.2)
- Umbraco.Cms.Web.BackOffice (>= 10.3.2)
- Umbraco.Cms.Web.Common (>= 10.3.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Enabled toggling the use of the umbraco database.
- Renamed some FE FIDO mentions to Passless
- Fixed some nullability checks