What it does
Two-Factor Authentication adds TOTP-based two-step verification to OJS,
protecting user accounts from unauthorized access.
After enabling the plugin, an administrator selects which roles require 2FA
(e.g., editors, authors, reviewers). Users with a required role are guided
through setup on their next login.
How setup works
- Scan a QR code with any authenticator app (Google Authenticator, Authy, Microsoft Authenticator, 1Password)
- Confirm setup by entering the 6-digit code from the app
- Receive 10 one-time backup codes for emergency access
From that point on, every login requires a code from the app in addition to the password. Users can optionally mark their browser as trusted to skip 2FA for a configurable number of days.
Key features
- Per-role enforcement — administrator decides which roles require 2FA (Site Admin, Editor, Author, Reviewer, etc.)
- Trusted browsers — users can mark their browser as trusted to skip 2FA verification for a configurable period (e.g., 30 days). Manage trusted browsers from the profile Security tab.
- Backup codes — 10 one-time codes with automatic email warnings when used
- Security tab in profile — users can reconfigure 2FA, regenerate backup codes, and manage trusted browsers
- Smart reviewer handling — reviewers invited via token link aren’t blocked by the 2FA requirement
- Admin reset — search any user and reset their 2FA from the plugin settings panel
- Sitewide — works globally across all journals on the OJS instance
- Email notifications — system alerts when backup codes are used or regenerated
Requirements
- OJS 3.4 or 3.5
- Any TOTP authenticator app on the user’s phone