OneCode Login
Simple and secure passwordless login using email verification codes. No passwords to remember, just enter your email and verify with a 6-digit code.
Sichere Auswahl
Yes — OneCode Login is a safe, well-maintained plugin to use in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 week ago, and scores 80/100 on our health check.
- Aktiv entwickelt — letztes Update vor 1 Woche
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 94.2% vs the previous 30 days
- Kleine Benutzerbasis (über 200 aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where OneCode Login stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| authentication | >100 |
| >100 | |
| login | #89 |
| otp | #41 |
| passwordless | #32 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 2 reviews
About OneCode Login
From the official readme · v1.2Beschreibung
OneCode Login provides a modern, passwordless authentication experience for your WordPress site. Instead of traditional passwords, users receive a secure 6-digit verification code via email.
Hauptmerkmale
- Passwordless Authentication – Users log in with just their email address
- 6-Digit Verification Codes – Secure, time-limited codes sent via email
- Rate Limiting – Built-in protection against brute force attacks
- Request ID Binding – Each code is bound to a specific login session for enhanced security
- Neutral Feedback – Prevents user enumeration attacks by not revealing if an email exists
- Customizable – Configure expiry times, cooldowns, and email templates
- Accessible – Full keyboard navigation and screen reader support
- Gutenberg Block – Easy to add login forms to any page
- Shortcode Support – Use [onecode_login] anywhere
- wp-login.php Integration – Optionally replace the default WordPress login
- Developer API – Other plugins can use OneCode Login as an email one-time-code (OTP) service to verify a visitor’s email — see the Developer information section
Security Features
- Cryptographically secure code generation
- Codes and magic-link tokens are stored HMAC-hashed, never in plain text
- Configurable code expiry (default: 10 minutes)
- Resend cooldown to prevent spam
- IP-based and email-based rate limiting
- Automatic lockout after failed attempts
- Codes are single-use and invalidated after successful login
Anwendungsfälle
- Membership sites where password fatigue is an issue
- Customer portals requiring simple authentication
- Internal tools where security without complexity is needed
- Any site wanting to improve user experience
Developer information
Other plugins on the same site can use OneCode Login as a generic email
one-time-code (OTP) service — for example to verify a guest’s email before
letting them act. OneCode emails the code and verifies it; your plugin keeps
full control of its own login/session (OneCode only asserts that the code is
valid for the email — it never logs anyone in). It works for any email
address; the address does not need a WordPress account.
All entry points are plain functions (and matching filters), so you do not need
a hard dependency on any class. The API is gated by the Settings → Advanced →
Enable developer API toggle.
Detect support (side-effect free — never call the request hook just to probe):
if ( function_exists( 'onecode_login_request_otp' ) && onecode_login_supports( 'otp' ) ) { ... }
-
Start authentication — email a code and receive a handle:
$handle = onecode_login_request_otp( $email, array( ‘consumer’ => ‘my_plugin’ ) );
// $handle = array( ‘request_id’, ‘auth_secret’, ‘expires_in’ (seconds), ‘expires_at’ (UTC), ‘sent’ )
// On failure: a WP_Error (codes: disabled, invalid_request, rate_limited, cooldown).
Keep request_id and auth_secret server-side (e.g. in a transient tied to the
visitor). The auth_secret is NEVER shown to the customer — it is what stops an
outsider who only knows the email from completing verification by guessing codes.
-
Complete authentication — the customer gives your plugin the code from the email:
$result = onecode_login_verify_otp( array(
’email’ => $email,
‘request_id’ => $handle[‘request_id’],
‘code’ => $code_from_customer,
‘auth_secret’ => $handle[‘auth_secret’],
‘consumer’ => ‘my_plugin’,
) );
// Success: array( ‘valid’ => true, ’email’ => … ). Failure: WP_Error.
On failure show a generic message to the user (the API intentionally returns a
single verify_failed code so it can’t be used as an oracle).
Filters are also available for loose coupling: onecode_login_request_otp
($pre, $email, $args) and onecode_login_verify_otp ($pre, $args).
Discovery and capabilities:
onecode_login_supports( $feature )— returns true for'otp',
‘identity_assertion’,'any_email'and'api_enabled'. It reports whether
the feature is usable right now: while the developer API toggle is off every
key returns false, so a gate onsupports()keeps you from offering a flow
the API would refuse. Use your own fallback in that case.onecode_login_api()->is_enabled()— the developer API toggle on its own.onecode_login_api()— returns theOneCode_Login_APIservice instance.OneCode_Login_API::VERSION— the API contract version (independent of the
plugin version), so you can feature-gate against the API surface.do_action( 'onecode_login_api_init', $api )— fires once the API is ready;
bind to it if you want to wire up as soon as OneCode Login loads.
Reference: $args['consumer'] (a short [a-z0-9_-] label identifying your
integration) is required on both calls — it isolates your codes and rate limits
from the built-in login and from other consumers. Both request and verify are
rate-limited by OneCode, returning rate_limited / cooldown WP_Errors you can
surface to the user.
Installation
- Upload the
onecode-loginfolder to/wp-content/plugins/ - Aktivieren Sie das Plugin über das Plugin-Menü in WordPress
- Go to Settings > OneCode Login to configure options
- Add the login form using the [onecode_login] shortcode or Gutenberg block
Shortcode Options
redirect_to– URL to redirect after successful loginbutton_text– Custom text for the send code buttonverify_text– Custom text for the verify button
Beispiel: [onecode_login redirect_to="/dashboard" button_text="Get Code"]
Änderungsprotokoll
1.2
- Security: hardened login code requests, code redemption and magic links.
- Security: the redirect after login is now restricted to the site’s own domain.
- Improvement: an outdated magic link now tells the user how to request a new login code.
1.1.1
- Security fix:
onecode_login_supports()no longer reports support while the developer API is switched off. Integrating plugins now get the correct answer and can fall back accordingly. - Added an
api_enabledcapability key toonecode_login_supports().
1.1
- New: developer API — other plugins on the same site can use OneCode Login as a generic email one-time-code (OTP) service. They request a code for any email address, then verify the code together with a server-side secret. Identity assertion only: OneCode confirms the code is valid for the email but never logs anyone in, so the integrating plugin keeps full control of its own session. See the “Developer information” section for the code-level integration.
- New:
api_enabledsetting (Advanced tab) to turn the developer API on or off. - Security: verification codes and magic-link tokens are now stored HMAC-hashed instead of in plain text.
- Security: client IP detection no longer trusts spoofable proxy headers by default (opt in via the
onecode_login_trust_proxy_headersfilter when behind a trusted proxy). - Security: magic-link verification is now rate-limited per IP as well as per email.
- Privacy: debug logging no longer records verification codes or full email addresses (emails are masked).
- Privacy: added WordPress personal-data exporter and eraser, plus a suggested Privacy Policy snippet.
- Internal: codes are scoped per channel so the developer API and the built-in login never interfere with each other; verification uses an atomic single-use claim.
- Note: upgrading from 1.0.2 or earlier clears any pending codes/tokens once (storage-format change); users simply request a new code.
1.0.2
- Fix: assets are now loaded reliably when the shortcode/block is present on the page (prevents first-submit failure under aggressive page caching or JS optimization).
- Fix: clear leftover code/rate-limit rows from earlier versions whose timestamps were stored in the local PHP timezone instead of UTC.
1.0.1
- Small bug fixes
1.0.0
- Erste Freigabe
- Passwordless login with 6-digit verification codes
- Rate limiting and brute force protection
- Customizable email templates
- Gutenberg block and shortcode support
- wp-login.php integration option
- Full accessibility support
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best OneCode Login alternatives
All authentication plugins →Fragen und Antworten
OneCode Login: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is OneCode Login free?
Yes. OneCode Login is free to download and use from the official WordPress.org plugin directory.
Is OneCode Login safe to use in 2026?
Yes — OneCode Login is a safe, well-maintained plugin to use in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 week ago, and scores 80/100 on our health check.
How many websites use OneCode Login?
OneCode Login is active on 200+ WordPress websites and has been downloaded 2,554 times since it launched in January 2026. It was downloaded 664 times in the last 30 days.
Does OneCode Login work with WordPress 7.1?
Yes. The developer has tested OneCode Login up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does OneCode Login need?
OneCode Login requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was OneCode Login last updated?
The latest version, 1.2, was released on November 20, 2026 (1 week ago).
Who makes OneCode Login?
OneCode Login is developed and maintained by oaron.
What are the best alternatives to OneCode Login?
The most popular alternatives to OneCode Login are Limit Login Attempts (200K+ installs), Two Factor (100K+ installs) and WPS Limit Login (100K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



