Skip to content
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Lebet Log
  • Daptar
WordPress.org
WordPress.org

Sunda

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

One Time Login

By Daniel Bachhuber
  • Details
  • Reviews
  • Installation
  • Support
  • Development

Description

Need access to a WordPress install but don’t want to create a new user account? Use this plugin and WP-CLI to generate a one-time login URL for any existing user:

wp plugin install one-time-login --activate && wp user one-time-login <user>

After you run the command above, you’ll see a success message like this:

http://wpdev.test/wp-login.php?user_id=2&one_time_login_token=ebe62e3

Copy the URL, paste it into your web browser, and… voila!

Because it’s a one-time login URL, it will only work once. If you need access again, you’ll need to run the WP-CLI command again.

Feel free to file issues and pull requests against the project on Github.

Installation

See description for installation and usage instructions.

Reviews

Awesome!

noahbalboah Oktober 28, 2016
This is super awesome and will be helpful managing customers sites.
Read all 1 review

Contributors & Developers

“One Time Login” is open source software. The following people have contributed to this plugin.

Contributors
  • Daniel Bachhuber

Translate “One Time Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.3.1 (June 1st, 2021)

  • Fires one_time_login_after_auth_cookie_set action after the auth cookie is set [#27].

0.3.0 (May 24th, 2018)

  • Introduces --delay-delete flag to delete old tokens after 15 minutes instead of immediately.
  • Improves invalid token message when user is already logged in: “Invalid one-time login token, but you are logged in as ‘user_login’. Go to the dashboard instead?”.

0.2.0 (May 3rd, 2018)

  • Introduces support for multiple one-time login links.
  • Links to the login screen from the “Invalid token” error message.

0.1.2 (June 11th, 2016)

  • Fires one_time_login_created action when login URL is created, and one_time_login_logged_in action when user is logged in via one-time login URL.

0.1.1 (May 26th, 2016)

  • Bug fix: Pass $assoc_args into the command to ensure the --porcelain flag actually works.

0.1.0 (April 28th, 2016)

  • Initial release.

Meta

  • Version: 0.3.1
  • Last updated: 12 months ago
  • Active installations: 10.000+
  • WordPress Version: 4.4 or higher
  • Tested up to: 5.7.6
  • Language:
    English (US)
  • Tag:
    login
  • Advanced View

Ratings

See all
  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • Daniel Bachhuber

Support

Issues resolved in last two months:

1 out of 1

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Sunda

  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry.