Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.11 — Minor update available for module photoswipe (5.0.11). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: amazee.ai Private AI Provider 1.4.6 — Minor update available for module ai_provider_amazeeio (1.4.6). Release: amazee.ai Private AI Provider 1.3.10 — Minor update available for module ai_provider_amazeeio (1.3.10). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Magic Login

No security coverage Drupal 10–11
View on drupal.org

Magic Login lets users sign in or register instantly via email using secure single-use magic links or 6-digit passcodes—eliminating passwords and friction for Drupal sites.

Magic Login simplifies authentication by enabling secure, passwordless sign-ins for Drupal. Users enter their email address and immediately receive a single-use login link or a six-digit passcode—allowing them to access their account without ever remembering or managing a password. Designed with zero-friction onboarding in mind, it can automatically create accounts for first-time visitors, making sign-ups completely seamless.

Features

  • Passwordless Authentication: Allows users to log in instantly via a secure, time-limited magic link or a six-digit magic passcode sent straight to their inbox.
  • Automatic Account Creation: Option to create accounts automatically when a new email address is used, eliminating complex registration forms.
  • Granular Role Controls: Built-in safeguards ensure newly registered accounts only receive allowed non-admin roles without risky permissions.
  • Flexible Redirects: Configurable landing pages post-login (with an optional custom welcome screen on the first sign-in).
  • Developer-Friendly Hooks: Easily customize signup rules, agree-to-terms checkboxes, or country restrictions using hook_form_magic_login_signup_form_alter().

Post-Installation

  1. Install and enable the module via Composer or Drush.
  2. Navigate to Administration → Configuration → People → Magic Login (/admin/config/people/magic-login).
  3. Set your preferred landing page path, configure link/code expiration timeouts, and specify role assignment rules for self-registered users.
  4. Customize the email template or hook into an HTML mail system (such as the HTML Mail module) to fit your site's branding.

Additional Requirements

  • Drupal Core: ^10.3 || ^11
  • System Requirements: A working mail delivery system on your server (such as Symfony Mailer or SMTP) to ensure prompt delivery of magic links.

Recommended modules/libraries

  • A useful companion (but independent) module Magic HTML Mail or Symfony Mailer: Enhances the plain-text sign-in emails with custom HTML styling and branding.

Similar projects

While modules like magic_link, magic_login_link, dripyard_simple_login, and passwordless provide link-based authentication, they strictly require an existing user account. Magic Login is specifically built to support both existing user logins and instant single-step account creation for brand-new users.

Supporting this Module

If you find this module helpful in simplifying your site's login flow, consider starring the repository on GitHub or reporting issues to help improve future releases.

Community Documentation

Configuration guide and developer hook examples are maintained in the project repository README.

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2026
Latest release
2 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Oct 8, 2026