Vai al contenuto
WordPress.org

Italia

  • Temi
  • Plugin
  • Notizie
    • Documentazione
    • Forum
  • Info
    • Manifesto
    • Unisciti alla Community
    • Team
    • Manuali
    • Traduci
    • Meetup italiani
    • WordCamp
    • Five for the Future
    • Proposte di lavoro
    • Swag Store
    • Directory delle foto
    • Learn WordPress
    • Openverse
    • Pattern
    • Playground
    • Prova l’editor Gutenberg
    • WordPress.tv
  • Eventi
  • Scarica WordPress
Scarica WordPress
WordPress.org

Plugin Directory

OneCode Login

  • Invia un plugin
  • I miei preferiti
  • Accedi
  • Invia un plugin
  • I miei preferiti
  • Accedi

OneCode Login

Di oaron
Scarica
  • Dettagli
  • Recensioni
  • Installazione
  • Sviluppo
Supporto

Descrizione

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.

Key Features

  • 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

Security Features

  • Cryptographically secure code generation
  • 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

Use Cases

  • 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

Screenshot

  • Admin settings page with all configuration options
  • Email input form for passwordless login
  • 6-digit verification code entry screen

Blocchi

Questo plugin fornisce 1 blocco.

  • OneCode Login

Installazione

  1. Upload the onecode-login folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Settings > OneCode Login to configure options
  4. Add the login form using the [onecode_login] shortcode or Gutenberg block

Shortcode Options

  • redirect_to – URL to redirect after successful login
  • button_text – Custom text for the send code button
  • verify_text – Custom text for the verify button

Example: [onecode_login redirect_to="/dashboard" button_text="Get Code"]

FAQ

Does this replace password login completely?

By default, no. OneCode Login works alongside traditional password login. However, you can enable the “Replace wp-login.php” option to use OneCode Login as the primary login method.

What happens if the email does not arrive?

Users can request a new code after the cooldown period (default: 60 seconds). Check your server email configuration if emails consistently fail to deliver.

Is this secure?

Yes. The plugin uses cryptographically secure random number generation, time-limited codes, rate limiting, and request binding to prevent various attack vectors.

Can I customize the email template?

Yes. Go to Settings > OneCode Login > Email tab to customize the subject and body of verification emails. You can use placeholders like {code}, {expires}, {site_name}, and {user_email}.

Does it work with multisite?

The plugin is designed for single-site installations. Multisite compatibility may be added in future versions.

What if a user does not have an account?

The plugin only allows existing users to log in. For security reasons, it does not reveal whether an email address has an account – users always see the same “check your email” message.

Recensioni

Good product

alex049 14 Maggio 2026 3 risposte
Good product. Do the job. Many thanks. Just I founded 2 bugs : when logout, data remain in the database login_codes that make when want to connect again, it remain on the login page and code is not sent, and finish by blocking over 7000s the next conexion. I don’t try with automatic exit after no usage, perhaps we have same result Problem in login_code where expire at is before created at. Perhaps linked to the fact one use time with jetlag and the other one the UTC

I really like this plugin. It has a lot of potential.

painlessseo 2 Marzo 2026
The developer clearly understands real-world needs and built something that actually solves practical problems.Looking forward to the developer adding even more features in future updates.Thank you for making this plugin!
Leggi tutte le recensioni di 2

Contributi e sviluppo

“OneCode Login” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori
  • oaron

Traduci “OneCode Login” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.

Changelog

1.0.1

  • Small bug fixes

1.0.0

  • Initial release
  • 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

Meta

  • Versione 1.0.2
  • Ultimo aggiornamento 9 ore fa
  • Installazioni attive 10+
  • Versione WordPress 5.8 o superiore
  • Testato fino alla versione 6.9.4
  • Versione PHP 7.4 o superiore
  • Lingua
    English (US)
  • Tag
    authenticationemailloginotppasswordless
  • Visualizzazione avanzata

Valutazioni

5 su 5 stelle.
  • 2 recensioni a 5-stelle 5 stelle 2
  • 0 recensioni a 4-stelle 4 stelle 0
  • 0 recensioni a 3-stelle 3 stelle 0
  • 0 recensioni a 2-stelle 2 stelle 0
  • 0 recensioni a 1-stelle 1 stella 0

Your review

Vedi tutte le recensioni

Collaboratori

  • oaron

Supporto

Hai qualcosa da dire? Ti serve aiuto?

Chiedi nel forum di supporto

  • Chi siamo
  • News
  • Hosting
  • Privacy
  • Vetrina
  • Temi
  • Plugin
  • Pattern
  • Learn (Training)
  • Supporto
  • Sviluppo
  • WordPress.tv ↗
  • Partecipa
  • Eventi
  • Donazioni ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Italia

  • Visita il nostro account X (ex Twitter)
  • Visita il nostro account Bluesky
  • Visita il nostro account Mastodon
  • Visita il nostro account Threads
  • Visita la nostra pagina Facebook
  • Visita il nostro account Instagram
  • Visita il nostro account LinkedIn
  • Visita il nostro account TikTok
  • Visita il nostro canale YouTube
  • Visita il nostro account Tumblr
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.