Securing Logins with Two Factor Authentication
DuoCMS is used on numerous membership organisation websites. It’s therefore important users have the ability to secure their accounts beyond just using a password.
We’ve recently added TOTP authentication to both DuoCMS7 and DuoCMS8 to allow users to add a one time passcode to their accounts.
How TOTP Works
A time-based one-time password (TOTP) is a temporary passcode generated by an algorithm that uses the current time of day as one of its authentication factors. Time-based one-time passwords are commonly used for two-factor authentication (2FA) and have seen growing adoption by cloud application providers.
The setup process for the user is to :
Download an authenticator app to their phone, Microsoft and Google both offer popular free apps for this purpose.
Click to enable 2FA within the DuoCMS Admin Panel
Use the app to take a photo of a QR code on screen
Then enter the code returned in the authenticator app, to confirm the code works
Once complete, all future logins will add an additional step, after asking for your username and password, they’ll also ask for the code currently displayed in the app. The code changes every 60 seconds so unlike password can’t be noted down by someone looking over your shoulder.
With this added factor, anyone logging into your account needs to know both your password and have access to your phone.
Using OAuth
In addition to TOTP, we have also added another oAuth provider - “Login with Microsoft”.
Logging in via an oAuth provider allows you to access your account without using a username or password. You simple click the button and the provider of choice tells us who you are. If you have an account we log you in.
The recently added “Login with Microsoft” oAuth option, validates your accounts email address with Microsoft before logging your in. If you’re commonly logged in with Microsoft, ie if you’re using online outlook, the Microsoft Edge browser or any other online Microsoft services, logging in can be a single click. This option is in addition to the “Login with Google” option, which has been present since CMS7. The Microsoft option is only available in DuoCMS8.