Lewati ke konten
WordPress.org

Indonesia

  • Tema
  • Plugin
  • Berita
  • Bantuan
  • Tentang
  • Komunitas
  • Poliglot
  • Gunakan WordPress
Gunakan WordPress
WordPress.org

Plugin Directory

Auto Login for Sakura Rental Server

  • Kirim plugin
  • Favorit saya
  • Login
  • Kirim plugin
  • Favorit saya
  • Login

Auto Login for Sakura Rental Server

Oleh sakurainternet
Unduh
  • Detail
  • Ulasan
  • Instalasi
  • Pengembangan
Bantuan

Deskripsi

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

Instalasi

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

Tanya Jawab

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.

Ulasan

Belum ada ulasan untuk plugin ini.

Kontributor & Pengembang

“Auto Login for Sakura Rental Server” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor
  • sakurainternet

Terjemahkan “Auto Login for Sakura Rental Server” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

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

  • Versi 1.0.5
  • Diperbarui 3 bulan yang lalu
  • Instalasi Aktif 10,000+
  • Versi WordPress 5.0 atau yang terbaru
  • Diuji hingga 6.8.6
  • Versi PHP 7.4 atau yang terbaru
  • Bahasa
    English (US)
  • Tag
    auto loginclilogintoken
  • Tampilan lanjut

Rating

No reviews have been submitted yet.

Your review

Lihat semua ulasan

Kontributor

  • sakurainternet

Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

Lihat forum bantuan

  • Tentang
  • Berita
  • Hosting
  • Privasi
  • Tampilan
  • Tema
  • Plugin
  • Pola
  • Belajar
  • Bantuan
  • Developer
  • WordPress.tv ↗
  • Terlibat
  • Kegiatan
  • Donasi ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Indonesia

  • Kunjungi akun X (sebelumnya Twitter) kami
  • Visit our Bluesky account
  • Kunjungi akun Mastodon kami
  • Visit our Threads account
  • Kunjungi halaman Facebook kami
  • Kunjungi akun Instagram kami
  • Kunjungi akun LinkedIn kami
  • Visit our TikTok account
  • Kunjungi channel YouTube kami
  • Visit our Tumblr account
Kode adalah Puisi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.