A WP-CLI command to log into WordPress using secure, passwordless magic links.
WP-CLI Login Command is a WordPress command-line tool that allows developers and administrators to generate secure, passwordless magic links for logging into WordPress sites. It solves the problem of frequent password entry by providing expiring, single-use URLs that authenticate users instantly, streamlining the development and management workflow.
WordPress developers, site administrators, and agencies who manage multiple WordPress installations and need fast, secure access without password hassles.
Developers choose this tool for its seamless integration with WP-CLI, eliminating password fatigue while maintaining security through short-lived magic links. It offers a faster, more convenient login alternative to traditional methods, with features like direct browser launching and email delivery.
Log in to WordPress with secure passwordless magic links.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
With the `--launch` option, it automatically opens magic links in your default browser immediately after creation, enabling near-instant login without manual copying or pasting.
Supports custom Mustache templates via the `--template` option, allowing full control over HTML email content sent to users, as shown in the repository's template files.
Includes commands like `wp login install` to handle the companion server plugin directly from WP-CLI, simplifying setup and updates without leaving the command line.
Accepts user identifiers by ID, username, or email address for all commands, making it easy to generate links for any user without memorizing specific details.
Requires a companion plugin to be installed and active on the WordPress site, adding an extra installation step and potential maintenance overhead, as noted in the `install` command documentation.
Currently only supports HTML emails; the README admits plain text email support is planned but not yet implemented, which could hinder accessibility or simplicity in some workflows.
Default magic link expiry is only 15 minutes, and redirects are restricted by WordPress's `wp_safe_redirect`, requiring manual configuration via options like `--expires` for extended use cases.