Skip to content

2FA Authy Login

Introduction

The administrator role is the most powerful role. Users with the administrator role/rights can:

  • add new posts
  • edit any posts
  • delete any posts
  • install, edit, delete plugins and themes
  • add new users
  • edit user information
  • delete any user

This role is basically reserved for site owners and gives them full control of the whole website.

Add a New Admin User

In this section, we will look at the steps to be followed to add a New user with Admin rights.

  1. Go to ShadesofIndia
  2. Login with the credentials, you will reach the admin dashboard
  3. Click -> Users
  4. Click -> Add New

    add new

  5. Fill the below form:

    form

    • User Name - It is a required field. Add any name you wish. The filed is case sensitive so it is advised not to use capital letters.
    • Email - This is a required field. Enter the email id. The entered email id cannot be used for any other role.
    • First Name - Enter the user's first name
    • Last Name - Enter the user's last name
    • Website - This field is NA. Leave it blank
    • Password - Click -> Show password - it will show a system generated password. It is recommended to use this password only.
    • Send User Notification - Always enable this option -> this will send an email notification to the user
    • Role - From the drop down select the role as Administrator
  6. Click -> Add New User at the bottom of the form.

User Verification

Once the user is created, an email notification is received on the registered email id. This email helps in making the created account active.

mail recvd

Follow the below steps:

  1. Click -> Link in the email

    mail link

  2. Copy the password shown and save

  3. Click -> Reset the password

    password

  4. Once password is rest, login with the Username and password.

    password reset

Note - Never save passwords on the working machine.

Two Factor Authentication (2FA)

Two-factor authentication (2FA), sometimes referred to as two-step verification or dual-factor authentication, is a security process in which users provide two different authentication factors to verify themselves.

Two-factor authentication methods rely on a user providing a password, as well as a second factor, usually either a security token or a biometric factor, such as a fingerprint or facial scan.

Two-factor authentication adds an additional layer of security to the authentication process by making it harder for attackers to gain access to a person's devices or online accounts.

Download AUTHY

Authy is the authenticator app that we use to enable the 2FA. Below are the steps to download the app:

  1. Go to -> Authy Website
  2. On top right side corner, Click -> Download

    authy download

  3. Go to -> Desktop

  4. Select your operating system - mac/windows

    authy desktop

  5. Run Setup to install Authy on your machine.

Authy Account Setup

  1. Run Setup to install Authy on your machine.
  2. Select Country -> India (+91)

    country

  3. Enter -> Mobile number, Click Next

    click next

  4. Enter -> email id for notifications

    email

  5. Select -> SMS - to receive verification code

    sms verify

  6. Enter -> Code received on mobile number

    enter code

Now your Authy setup is complete.

Connect Authy to Admin Account

  1. Click -> "+" sign

    click +

  2. Generate code in the website admin panel. Steps to get code are below:

    • Go to -> Admin Panel
    • Go to -> Wordfence -> Login Security

      wordfence

    • Copy code visible under the Bar code

      copy code

  3. Paste the code in Authy

  4. Click -> Add account

    past in authy

  5. Add -> Account Name

    account name

  6. Scroll to the bottom of given list. Select -> Wordpress

    select wordpress

  7. Choose -> Token Length - Recommended length is 6 digit

    token length

  8. Click -> Save

  9. Copy the visible code. This code changes every 30 seconds.

    copy6digit code

  10. Go back to -> Admin Panel

  11. Paste code under section 2

    pastecode

  12. Click -> Activate

    clickactivate

Recovery Codes

Once the connection between Authy and Admin account is set up, a pop-up comes up - Download Recovery Codes

  1. Click -> Download : The text file has 5 extra codes in case the previous code is lost.

    download recovery codes

  2. Save for future use.

  3. The recovery codes, can be used if you ever lose your authenticator device or if you remove the app or its saved codes by mistake. Make sure you store these codes in a safe place.

  4. Because they don’t expire, recovery codes are longer than normal codes — 16 letters and numbers instead of only 6 numbers — but each code can only be used once.
  5. You can generate new recovery codes on the Login Security page of your site.
  6. Generating new codes will invalidate the previous codes.

Login with 2 Factor Authentication

  1. Go to ShadesofIndia
  2. Enter Username and Password
  3. Click -> Log In

    login

  4. When the 2FA Code prompt appears -> enter the code from the authy app; this code gets updated every 30 seconds

  5. Again Click -> Log In

    2falogin

Important - Enable 2FA based on Roles

Once, all the above steps have been followed and the 2FA has been setup, the most important/mandatory step to be followed is to Enable 2FA for the respective roles. Below are the steps for the same:

  1. Go to -> Admin Panel
  2. Go to -> Wordfence -> Login Security

    wordfence

  3. Click -> Settings

  4. Tick mark the checkbox -> Enable 2FA for these roles - Select the required role

    enable2fa

  5. Click -> Save settings

After this, whenever a user of selected role logs in to the WordPress site, user will be asked for two-factor.

Delete a User

To delete a user, follow the below steps:

  1. Go to -> Users -> All Users

    allusers

  2. Hover over the user you want to delete.

  3. Click -> Delete

    deleteuser


Last update: November 21, 2020