Skip to content

savedpixel/savedpixel-magic-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SavedPixel Magic Login

Generate a one-click administrator login URL and rotate it from inside wp-admin.

What It Does

SavedPixel Magic Login creates a private login slug and token pair that logs the selected administrator account straight into wp-admin. It is designed for controlled access workflows where a managed URL is more practical than relying on the standard login screen every time.

Key Workflows

  • Choose which administrator account the magic link should log in as.
  • Copy the current magic URL from the plugin screen.
  • Open the current URL in a new tab to test it.
  • Regenerate the URL on save to revoke the previous link immediately.

Features

  • Generates a private slug and long random token on activation.
  • Stores the selected administrator account in plugin settings.
  • Authenticates the configured administrator directly from the magic link and redirects to wp-admin.
  • Regenerating the URL creates a new slug and token, which invalidates the previous link.
  • Includes copy and open-link actions in the settings page.
  • Uses WordPress rewrite rules so the link works as a clean URL.

Admin Page

The settings page lets you select the administrator account, review the current magic URL, copy it, open it, and optionally regenerate it during save. The plugin keeps the interface intentionally minimal because the main job is managing the active link and the user it targets.

Requirements

  • WordPress 6.5 or later
  • PHP 8.1 or later

Installation

  1. Upload the savedpixel-magic-login folder to wp-content/plugins/.
  2. Activate the plugin from the WordPress Plugins screen.
  3. Open SavedPixel > Magic Login.
  4. Choose the administrator account that should be linked to the magic URL and store the generated link securely.

Usage Notes

  • Anyone with the current URL can log in as the selected administrator.
  • The link does not expire automatically; it remains valid until you regenerate it.
  • This plugin adds a managed login path, but it does not remove normal WordPress password-based login on its own.

Author

Byron Jacobs
GitHub

License

GPL-2.0-or-later

About

Generate and rotate secure one-click administrator login URLs from inside WordPress.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors