The Magic Code Drupal module integrates with the Verification API and adds a VerificationProvider that handles verification via so-called Magic Codes (short, alphanumeric codes that the user may also type manually).
Motivation
Using magic codes for verification (e.g. like Slack does it) is a popular and convenient way for users to verify a given operation or a passwordless login.
This module handles the creation, verification, and invalidation of those codes.
Features
- Magic-Code management with Backend UI
- Flood control (Anti-Brute-Force)
- Tokens for User-E-Mail Templates
Supporting organizations:
Development & Maintenance
Project information
- Ecosystem: Verification API
18 sites report using this module
- Created by chfoidl on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
2.1.0
released 3 November 2025
Works with Drupal: ^10.3 || ^11
Install:
Development version: 2.x-dev updated 3 Nov 2025 at 11:11 UTC
2.0.0
released 3 November 2025
Works with Drupal: ^10.3 || ^11
Install:
Development version: 2.x-dev updated 3 Nov 2025 at 11:11 UTC
1.0.0-beta3
released 19 February 2024
Works with Drupal: ^9 || ^10
Install:
Development version: 1.0.x-dev updated 21 Feb 2024 at 13:39 UTC

