Add-on Documentation from JCOGS Design

IntroductionLast updated: 29 January 2026

JCOGS OTP Pro – Magic Links is a companion add-on for ExpressionEngine that extends JCOGS OTP Pro with a secure “click-to-verify” workflow. Instead of entering a one-time code, members receive a short-lived, single-use sign-in link by email, making the second step faster and easier while retaining the security benefits of MFA/2FA.

Core Capabilities

  • Magic Link Verification Payload
    Delivers a time-limited, single-use sign-in link as an alternative to typing a one-time code.
  • Email-based Delivery
    Uses your site’s configured email delivery to send the magic link to the member.
  • Works with JCOGS OTP Pro Policies
    Uses OTP Pro’s existing role-based enforcement and login flow integration (Control Panel and front-end patterns).
  • Clear, Low-Friction UX
    Reduces code-entry errors and improves completion rates, especially on mobile devices.

How Magic Links Work

JCOGS OTP Pro – Magic Links plugs into the OTP Pro delivery system as an optional payload. When Magic Links is enabled, JCOGS OTP Pro can send a one-time sign-in link via email during the verification step. The member clicks the link to complete verification, rather than copying and typing an OTP code.

Magic Links is designed to be practical and secure in real-world use:

  • links are short-lived (time-sensitive) to reduce risk;
  • links are intended to be single-use, so a previously used link cannot be re-used;
  • the workflow is compatible with JCOGS OTP Pro’s broader security controls and policies.

Minimum Requirements

Magic Links requires ExpressionEngine 6.4.18+ (including EE7+) and PHP 8.2+. It also requires JCOGS OTP Pro to be installed, and a working email configuration (SMTP or server mail) so the magic links can be delivered reliably.

Installation

  • Copy the jcogs_otp_magic_link folder to system/user/addons.
  • In the ExpressionEngine Control Panel, go to Add-ons and install JCOGS OTP Pro – Magic Links.
  • In JCOGS OTP Pro settings, enable/configure the Magic Link option (as available) for your chosen delivery setup.

Companion Add-ons

Magic Links is itself a companion add-on for JCOGS OTP Pro. You can optionally pair it with other companions (such as HTML email templates) to further tailor the content and branding of verification emails.

Top Tip

Roll out Magic Links to a small set of roles first (or offer it as an optional method) to validate email deliverability and confirm the user experience. Once you’re happy with the workflow, you can expand its use more broadly using JCOGS OTP Pro’s role-based controls.