Title: Auto Login for Sakura Rental Server
Author: sakurainternet
Published: <strong>Séptembor 18, 2025</strong>
Last modified: Ipril 8, 2026

---

Search plugins

![](https://ps.w.org/auto-login-for-sakura-rental-server/assets/banner-772x250.png?
rev=3363739)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/auto-login-for-sakura-rental-server/assets/icon.svg?rev=3363739)

# Auto Login for Sakura Rental Server

 By [sakurainternet](https://profiles.wordpress.org/sakurainternet/)

[Download](https://downloads.wordpress.org/plugin/auto-login-for-sakura-rental-server.1.0.5.zip)

 * [Details](https://rhg.wordpress.org/plugins/auto-login-for-sakura-rental-server/#description)
 * [Reviews](https://rhg.wordpress.org/plugins/auto-login-for-sakura-rental-server/#reviews)
 *  [Installation](https://rhg.wordpress.org/plugins/auto-login-for-sakura-rental-server/#installation)
 * [Development](https://rhg.wordpress.org/plugins/auto-login-for-sakura-rental-server/#developers)

 [Support](https://wordpress.org/support/plugin/auto-login-for-sakura-rental-server/)

## Description

**Auto Login for Sakura Rental Server** allows administrators to issue one-time,
time-limited auto-login URLs using HMAC signatures.
 This is useful for secure temporary
access or system integration.

Features:
 – Secure auto-login with one-time tokens – Tokens are HMAC-signed and
invalidated after use – Token issuance and usage history (up to 100 entries per 
user) – Records IP address and username of the issuer – Rate limiting: 1 request
per second per IP – WP-CLI commands for token generation and history inspection

Example use cases:
 – Temporarily granting admin access – Safe automatic login from
external systems – Keeping an audit log of who issued a token and from where

### Usage

### Generate a token via CLI

    ```
    wp auto-login-for-sakura-rental-server generate <user_id> [–expires=] [–remote_addr=] [–username=]
    ```

Example:

 * Default expiration time: 300 seconds
 * `--expires` and `--username` are optional

### Check issue history

Token history is stored in the user meta key `sakura_auto_login_history`.
 You can
check it via WP-CLI:

wp user meta get sakura_auto_login_history

### Auto-login URL format

    ```
    https://example.com/?rs_auto_login_token=<64-character HMAC token>
    ```

Visiting the URL will log in as the corresponding user and redirect to the admin
dashboard.

### Security Notes

 * Tokens are invalidated immediately after use (one-time only)
 * Issue and usage history includes IP address, issuer username, and timestamps
 * Stored using `update_option()` for caching compatibility
 * HTTPS is strongly recommended

## Installation

 1. Upload the plugin to `/wp-content/plugins/auto-login-for-sakura-rental-server/`.
 2. Activate it through the **Plugins** menu in WordPress.

## FAQ

### Can I revoke a token manually?

Yes. Run `sakura_auto_login_delete_token('<token>')`.

### What happens if the URL leaks?

Anyone with the URL can log in as the target user until the token expires. Always
use HTTPS and handle URLs carefully.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Auto Login for Sakura Rental Server” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ sakurainternet ](https://profiles.wordpress.org/sakurainternet/)

[Translate “Auto Login for Sakura Rental Server” into your language.](https://translate.wordpress.org/projects/wp-plugins/auto-login-for-sakura-rental-server)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/auto-login-for-sakura-rental-server/),
check out the [SVN repository](https://plugins.svn.wordpress.org/auto-login-for-sakura-rental-server/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/auto-login-for-sakura-rental-server/)
by [RSS](https://plugins.trac.wordpress.org/log/auto-login-for-sakura-rental-server/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release

#### 1.0.1

 * Bugfix release

#### 1.0.2

 * Internal changes release

#### 1.0.3

 * Readme changes release

#### 1.0.4

 * Readme changes release

#### 1.0.5

 * Bugfix release

## Meta

 *  Version **1.0.5**
 *  Last updated **7 mac óll ago**
 *  Active installations **20,000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.8.12**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/auto-login-for-sakura-rental-server/)
 * Tags
 * [auto login](https://rhg.wordpress.org/plugins/tags/auto-login/)[cli](https://rhg.wordpress.org/plugins/tags/cli/)
   [login](https://rhg.wordpress.org/plugins/tags/login/)[token](https://rhg.wordpress.org/plugins/tags/token/)
 *  [Advanced View](https://rhg.wordpress.org/plugins/auto-login-for-sakura-rental-server/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/auto-login-for-sakura-rental-server/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/auto-login-for-sakura-rental-server/reviews/)

## Contributors

 *   [ sakurainternet ](https://profiles.wordpress.org/sakurainternet/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/auto-login-for-sakura-rental-server/)