Umbraco 8 Two Factor Authentication
Enable two factor authentication using a TOTP authenticator app (ie Google Authenticator or Microsoft Authenticator)
- Install the U2 nuget package
- Add your issuer (a name people can use to remember your site by in their Authenticator App) to AppSettings
- Update you Owin startup file as per the Readme.txt
Once setup, you will see a new dashboard in the backoffice content section. Using your authenticator app of choice, scan the barcode, enter the verification code, hit enter. From now on your account will require a code from your authenticator app to login.
If you ever loose your authenticator app but you have access to the database, simply delete your user account from the U2UserSettings table in your Umbraco database.
- I plan to add another AppSetting to require two factor authentication. If set to true, any account that doesn't have 2FA configured will inform the user they must contact their administrator to setup two factor authentication. I will add a section for administrators to generate 2FA secret keys (and QR codes) for other users.
- Umbraco 9 support.
nuget pack u2.nuspec -version <version>