Knowit.NemLogin.Umbraco
0.1.0
dotnet add package Knowit.NemLogin.Umbraco --version 0.1.0
NuGet\Install-Package Knowit.NemLogin.Umbraco -Version 0.1.0
<PackageReference Include="Knowit.NemLogin.Umbraco" Version="0.1.0" />
<PackageVersion Include="Knowit.NemLogin.Umbraco" Version="0.1.0" />
<PackageReference Include="Knowit.NemLogin.Umbraco" />
paket add Knowit.NemLogin.Umbraco --version 0.1.0
#r "nuget: Knowit.NemLogin.Umbraco, 0.1.0"
#:package Knowit.NemLogin.Umbraco@0.1.0
#addin nuget:?package=Knowit.NemLogin.Umbraco&version=0.1.0
#tool nuget:?package=Knowit.NemLogin.Umbraco&version=0.1.0
Knowit.NemLogin.Umbraco
Umbraco Members integration for Knowit.NemLogin — auto-provisioning,
group mapping, Members-scheme sign-in. Targets Umbraco 13 LTS on net8.0
and Umbraco 17 on net10.0.
Package family
| Package | Role |
|---|---|
| Knowit.NemLogin | Core SAML primitives, framework-agnostic (pulled in transitively) |
| Knowit.NemLogin.Web | ASP.NET Core authentication handler + endpoint mappings (pulled in transitively) |
| Knowit.NemLogin.Umbraco | Umbraco Members integration — auto-provisioning, group mapping, Members-scheme sign-in. (you are here) |
| Knowit.NemLogin.AzureKeyVault | ICertificateProvider backed by Azure Key Vault — keep SP signing/encryption certs out of source control |
What's in this package
INemLoginMemberProvisioner— looks up an UmbracoIMemberby a stable per-install HMAC-derived username (CprUuidfor DkPerson, professional UUID for DkProfessional / EidasProfessional). Returns existing members as-is — no writes on the hot path. Creates new members on first sign-in withAutoCreate = true.WithUmbracoMemberProvisioning()fluent extension onAuthenticationBuilder— wires the package'sOnSignedInhook to call the provisioner andIMemberSignInManager.SignInAsync, so Umbraco's Members session is established alongside the NemLog-in scheme cookie.@Umbraco.MemberIsLoggedOn()returns true.NemLoginUmbracoOptions—MemberTypeAlias,AutoCreate,GroupResolver,UsernameDerivationSecret(the HMAC salt; falls back toUmbraco:CMS:Global:Idwhen unset).NemLoginUmbracoComposer— auto-discovered by Umbraco'sAddComposers(). Registers the provisioner + the options validator/post-configurator. Zero-config defaults.
Quick start
// Service registration is automatic via NemLoginUmbracoComposer.
// Options binding via the standard Options API:
builder.Services.Configure<NemLoginUmbracoOptions>(
builder.Configuration.GetSection("NemLoginUmbraco"));
// Wire the auth pipeline:
builder.Services
.AddAuthentication(/* ... */)
.AddCookie(/* ... */)
.AddNemLogin(o => o.SignInScheme = "MyApp.Cookie")
.WithUmbracoMemberProvisioning();
Privacy notes
The default UsernameDerivationSecret fallback (Umbraco:CMS:Global:Id)
is zero-config and per-install unique — sufficient for evaluation and
internal apps. For privacy-grade pseudonymization in public-sector
production deployments, set UsernameDerivationSecret to 32 random
bytes managed in Key Vault so the salt lives in a separate trust
boundary from the database.
Repository
github.com/mustap/Knowit-NemLogin — full docs.
License
MIT — see LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ITfoxtec.Identity.Saml2 (>= 4.18.0)
- Knowit.NemLogin.Web (>= 0.1.0)
- Umbraco.Cms.Core (>= 17.3.5)
- Umbraco.Cms.Web.Common (>= 17.3.5)
-
net8.0
- ITfoxtec.Identity.Saml2 (>= 4.18.0)
- Knowit.NemLogin.Web (>= 0.1.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.7)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.7)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Http (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Options (>= 10.0.7)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.7)
- Umbraco.Cms.Core (>= 13.14.0)
- Umbraco.Cms.Web.Common (>= 13.14.0)
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.1.0 | 84 | 5/13/2026 |