Title: AuthLatch
Author: Rayhan Sardar
Published: <strong>August 27, 2026</strong>
Last modified: August 27, 2026

---

Search plugins

![](https://ps.w.org/authlatch/assets/banner-772x250.png?rev=3668985)

![](https://ps.w.org/authlatch/assets/icon.svg?rev=3668985)

# AuthLatch

 By [Rayhan Sardar](https://profiles.wordpress.org/madc0de/)

[Download](https://downloads.wordpress.org/plugin/authlatch.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/authlatch/#description)
 * [Reviews](https://wordpress.org/plugins/authlatch/#reviews)
 *  [Installation](https://wordpress.org/plugins/authlatch/#installation)
 * [Development](https://wordpress.org/plugins/authlatch/#developers)

 [Support](https://wordpress.org/support/plugin/authlatch/)

## Description

AuthLatch helps site owners replace routine password logins with secure passwordless
access.

Key features:

 * One-time magic links requested by username or email, with expiry and one-use 
   tokens.
 * Passkey login using WebAuthn/FIDO2.
 * Self-service AuthLatch sidebar page for selected user roles.
 * Users can add, revoke, and name their own passkeys.
 * Users can send a magic login link to their own account email.
 * Per-role passkey access and per-user passkey limits.
 * Branded responsive login screen with method tabs for magic links, passkeys, and
   password fallback.
 * Single active session control.
 * Admin-generated login links with optional IP binding and auto logout.
 * Admin-scoped login links that can block selected admin menus for that session.
 * Built-in SMTP settings for hosts where PHP mail delivery is disabled.
 * Audit log for important authentication events.
 * RTL-friendly login UI.

AuthLatch stores magic-link validators as hashes, verifies passkeys server-side,
and uses WordPress capabilities, nonces, sanitization, and escaping throughout the
admin interface.

### Setup

#### Magic links

 1. Enable Magic links in AuthLatch > Settings.
 2. Set the default link expiry.
 3. Configure the email subject and body.
 4. Configure SMTP if the host disables PHP mail.
 5. Users can request a login link from the login page with either username or email.
 6. Enabled self-service roles can also send a login link from AuthLatch in the admin
    sidebar.

#### Passkeys

 1. Enable Passkeys in AuthLatch > Settings.
 2. Select the roles allowed to use passkeys.
 3. Set the maximum passkeys per user.
 4. Use HTTPS on the live site.
 5. Users with allowed roles can open AuthLatch in the admin sidebar and click Add 
    passkey.
 6. Users can revoke old passkeys from the same page.

#### Self-service sidebar page

 1. Open AuthLatch > Settings.
 2. Select roles under Self-Service Page > Sidebar access roles.
 3. Only selected roles will see the AuthLatch sidebar page.
 4. The self-service page lets users manage their own passkeys and send a magic link
    to their own email.

#### Password fallback

 1. Keep Username/password login enabled if normal WordPress login should remain available.
 2. Keep admin password fallback enabled if administrators should still be able to 
    log in with a password when password login is otherwise disabled.

#### SMTP

 1. Enable Use SMTP for WordPress emails.
 2. Enter host, port, encryption, username, password, from email, and from name.
 3. Save settings.
 4. Send a test email from AuthLatch > Settings.

### Privacy

AuthLatch stores authentication-related records in the WordPress database, including
hashed magic-link tokens, passkey public-key data, hashed IP values for audit and
optional IP binding, and configuration settings. AuthLatch does not store plaintext
magic-link validators. SMTP passwords are encrypted with WordPress salts before 
storage.

### Third-Party Libraries

AuthLatch includes the MIT-licensed lbuchs/WebAuthn library for WebAuthn/FIDO2 server-
side verification.

## Installation

 1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
 2. Activate AuthLatch.
 3. Open AuthLatch > Settings from the WordPress admin sidebar.
 4. Configure magic links, passkeys, self-service roles, branding, and SMTP if needed.
 5. Save settings.
 6. Send a test SMTP email before relying on email-only login.

## FAQ

### Does AuthLatch require a separate SMTP plugin?

No. AuthLatch includes SMTP settings and uses WordPress PHPMailer.

### Does passkey login require HTTPS?

Yes. WebAuthn passkeys require a secure browser context, usually HTTPS. Localhost
is generally allowed for development.

### Where does a user add a passkey?

Allowed users can open AuthLatch from the WordPress admin sidebar and use Add passkey.
Passkeys can also be managed from the WordPress profile page.

### Can administrators keep password login as a fallback?

Yes. The settings include an administrator password fallback option.

### Can users request magic links for their own account?

Yes. If their role is selected in Self-Service Page settings, users can open AuthLatch
in the sidebar and send a login link to their account email.

### Does AuthLatch send data to an external service?

AuthLatch does not send authentication data to an AuthLatch service. If SMTP is 
enabled, email is sent through the SMTP server configured by the site administrator.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AuthLatch” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Rayhan Sardar ](https://profiles.wordpress.org/madc0de/)

[Translate “AuthLatch” into your language.](https://translate.wordpress.org/projects/wp-plugins/authlatch)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/authlatch/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/authlatch/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/authlatch/) by [RSS](https://plugins.trac.wordpress.org/log/authlatch/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Updated compatibility metadata for WordPress 7.1.

#### 1.0.1

 * Updated compatibility metadata for WordPress 7.0.

#### 1.0.0

 * Initial WordPress submission release.
 * Added role-gated self-service AuthLatch sidebar page.
 * Added user-managed passkey registration and revocation from the sidebar.
 * Added user self-service magic-link email action.
 * Added plugin action link for settings.

## Meta

 *  Version **1.0.2**
 *  Last updated **3 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [magic link](https://wordpress.org/plugins/tags/magic-link/)[passkey](https://wordpress.org/plugins/tags/passkey/)
   [passwordless login](https://wordpress.org/plugins/tags/passwordless-login/)[smtp](https://wordpress.org/plugins/tags/smtp/)
   [webauthn](https://wordpress.org/plugins/tags/webauthn/)
 *  [Advanced View](https://wordpress.org/plugins/authlatch/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/authlatch/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/authlatch/reviews/)

## Contributors

 *   [ Rayhan Sardar ](https://profiles.wordpress.org/madc0de/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/authlatch/)