Skip to content

Liferay plugin to add extra security layer by using power of Google Authenticator

Notifications You must be signed in to change notification settings

deltafixes/liferay-7-two-factor-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Two Factor Authentication

Purpose of this plugin is to add an extra security layer for your Liferay Portal. In addition to username and password, user requires to enter a one-time verification code (Google Authenticator), when signing in to Liferay Portal.

Environment

  1. Liferay 7.0 DXP
  2. Liferay 7.0 CE-GA5+
  3. Liferay 7.1 CE-GA1+

Features:

  • Enable or disable Two factor authentication.
  • Recovery option, if user lost security code.

How to use

  1. Download and install Two factor authentication plugin on your server. Make sure plugin is properly deployed on server.

  2. Create public page name as configuration.

01_create_public_page

02_configure_page

  1. Put Two Factor Config portlet on configuration page.

03_put_config

  1. You can set page permission as you want, so that only intended user can have access to this feature.

  2. User can enable/disable Two Factor authentication using below screen.

06_user_configuration

  1. Create another public page name as verify-otp.

04_verify_page

  • Note: This page name must be 'verify-otp' and make sure you turned ON "Hide from Navigation Menu"
  1. Put Two Factor Verify portlet on verify-otp page.

05_put_verify

  1. Set permission of page "verify-opt" in such a way that it should only be accessible after login.

  2. Once user enable this feature. After providing correct username/password portal should ask for verification code as shown below.

07_verify_otp_page

Note : Please make sure SMTP settings are in place, it will be used to send recovery code in case user lost QR/Bar code.

Support

Please feel free to contact us on [email protected] for any issue/suggestions.

Releases

No releases published

Packages

No packages published