punkTwoFactor 10.6.1

dotnet add package punkTwoFactor --version 10.6.1                
NuGet\Install-Package punkTwoFactor -Version 10.6.1                
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="punkTwoFactor" Version="10.6.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add punkTwoFactor --version 10.6.1                
#r "nuget: punkTwoFactor, 10.6.1"                
#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 punkTwoFactor as a Cake Addin
#addin nuget:?package=punkTwoFactor&version=10.6.1

// Install punkTwoFactor as a Cake Tool
#tool nuget:?package=punkTwoFactor&version=10.6.1                


NuGet release

A simple Umbraco package that uses the documented implementation from Umbraco https://our.umbraco.com/documentation/Reference/Security/two-factor-authentication/#two-factor-authentication-for-users and adds some additional tweaks.


Install-Package punkTwoFactor



Add the following section to your appsettings.json:

"punkTwoFactor": {
    "ProviderName": "Two Factor Authentication",
    "Issuer": "Two Factor Authentication - Dev",
    "BackOfficeView": "..\\App_Plugins\\punkTwoFactor\\twoFactorProviderGoogleAuthenticator.html"

Add using statement:

using punkTwoFactor.Extensions;

Add the following code block within your ConfigureServices section above the Umbraco setup:

var twoFactorConfiguration = services.ConfigureTwoFactorConfig(_config);

Now add the "AddBackOfficeTwoFactorAuthentication" extension to the Umbraco setup.

    .AddUmbraco(_env, _config)


  • Umbraco 10+
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
10.6.1 772 7/14/2023
10.4.4 1,704 3/17/2023
10.4.3 229 3/17/2023
10.4.2 315 1/25/2023
10.4.1 264 1/25/2023
10.1.1 493 8/24/2022
10.1.0 438 8/12/2022
1.0.5 481 6/15/2022
1.0.4 475 5/23/2022
1.0.3 434 5/23/2022
1.0.2 479 5/23/2022
1.0.1 425 5/23/2022
1.0.0 439 5/23/2022
0.0.9 461 5/23/2022
0.0.7 460 5/18/2022
0.0.6 467 5/18/2022
0.0.5 435 5/18/2022
0.0.4 461 5/18/2022
0.0.2 470 5/18/2022