Umbraco 2FA is a two factor authentication solution for Umbraco 7.6+ by Offroadcode. With it you can configure your Umbraco site to utilize Google Authenticator to provide two factor authentication when logging into the Umbraco backoffice.
Note!: Umbraco 2FA only works for Umbraco 7.6 and greater. Do not install on earlier versions.
You can install the Umbraco 2FA package to Umbraco via these following steps:
The Umbraco 2FA tab will appear as a tab in the Content section of the backoffice after installation.
Each user may enable 2FA for their account by performing the following steps:
To remove 2FA on your account, you can return to the Umbraco 2FA tab and click "Remove Authenticator".
When a user's account is configured with 2FA, any time they log into their account they will be prompted with a request for their Two Factor authentication code after entering their username and password. This code will be displayed on the authenticator that they are using.
The following is a guide for setting up the Umbraco 2FA source code on your machine if you wish to help develop it.
Requires Node.js to be installed and in your system path
npm install -g grunt-cli && npm install -g grunt
npm install
grunt
Builds the project to /dist/. These files can be dropped into an Umbraco 7 site, or you can build directly to a site using:
grunt --target="D:\inetpub\mysite"
But if you do build directly into a site, you'll need to add the following to its /Config/Dashboard.config
file so the custom section's dashboard will show:
<section alias="umbraco2FA">
<areas>
<area>umbraco2FA</area>
</areas>
<tab caption="Umbraco2FA">
<control>/App_Plugins/Umbraco2FA/views/dashboard.html</control>
</tab>
</section>
You can also watch for changes using:
grunt watch
grunt watch --target="D:\inetpub\mysite"
If you want to build the package file (into a pkg folder), use:
grunt umbraco