=== WPress Login Links ===
Contributors: wpressplugins
Tags: temporary login, passwordless login, security, one-time access, support
Requires at least: 5.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Secure one-time login links for eligible WordPress users. Temporary access without sharing passwords.

== Description ==

WPress Login Links lets a trusted WordPress administrator create a temporary, single-use login link for a selected eligible account. The one-time link expires in 15 minutes and is invalidated immediately after successful use. It is useful for support and assistance when you need the account owner to sign in without passing around passwords.

Please note: administrators, editors, multisite super administrators and equivalent privileged users cannot be signed in through these links. The user must already exist. The plugin does not send emails or create accounts.

== Security features ==

* 256-bit cryptographically random tokens.
* Store only an HMAC-SHA256 digest of the secret, never the original token.
* Put the secret in the URL fragment (not the initial HTTP request).
* Use a no-cache sign-in bridge via wp-login.php, with a one-time POST.
* Consume tokens atomically before creating the WordPress auth session.
* Automatically expire after 15 minutes, with optional manual revocation.
* One active link at a time per user; regenerating replaces the previous link.
* Block privileged roles (administrator, editor, multisite super admin, any manage_options role).
* Permission checks, user-specific nonces and rate limiting.
* Require HTTPS for link generation and use.
* Security headers and safe redirects.

== Installation ==

1. In WordPress, visit Plugins > Add New > Upload Plugin.
2. Upload the WPress Login Links ZIP and activate it.
3. Open Users > WPress Login Links for a short setup guide.
4. Open Users > Edit User for an eligible user.
5. Generate and copy a link from the WPress Login Links box.
6. Send it privately to its intended recipient; it is usable once for 15 minutes.

Note: An existing administrator/editor cannot receive a temporary link. This is an intentional security restriction.

== Migration from Solid Login Links ==

This is a separate plugin with different internal action names and metadata keys. It does not alter or import old Solid Login Links tokens. Disable Solid Login Links before switching to avoid duplicate controls. Previously generated links from Solid Login Links will not work in WPress Login Links. Generate fresh links after switching.

== Privacy ==

No third-party analytics, remote authentication or email transmission is built in. The plugin stores the token's HMAC hash, an expiry timestamp, its creator and the last-used timestamp in WordPress user metadata. A trusted person holding a valid unused link can sign in as the target user. Distribute one-time URLs only over trusted private channels.

== Changelog ==

= 1.0.0 =
* First branded WPress Plugins release based on Solid Login Links v2.2.0.
* New English setup guide and redesigned WordPress admin profile controls.
* Namespaced functions, AJAX actions, hook names, options and user metadata.
* HTTPS enforcement before link generation and consumption.
* Original safety checks preserved.
