WordPress.org

Español (Ecuador)

  • Temas
  • Plugins
  • Acerca de
  • Temas
  • Plugins
  • Equipo
  • Nosotros
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

Auto Login for Sakura Rental Server

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Auto Login for Sakura Rental Server

Por sakurainternet
Descargar
  • Detalles
  • Valoraciones
  • Instalación
  • Desarrollo
Soporte

Descripción

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 set_transient() for caching compatibility
  • HTTPS is strongly recommended

Instalación

  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 delete_transient('sakura_auto_login_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.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Auto Login for Sakura Rental Server» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores
  • sakurainternet

Traduce «Auto Login for Sakura Rental Server» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.0

  • Initial release

1.0.1

  • Bugfix release

Meta

  • Version 1.0.1
  • Last updated hace 2 semanas
  • Active installations 10+
  • WordPress version 5.0 o superior
  • Tested up to 6.8.3
  • PHP version 7.4 o superior
  • Language
    English (US)
  • Tags
    auto loginclilogintoken
  • Vista avanzada

Valoraciones

No reviews have been submitted yet.

Añadir mi reseña

See all reviews

Colaboradores

  • sakurainternet

Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

Ver el foro de soporte

  • Acerca de
  • Noticias
  • Alojamiento
  • Privacidad
  • Escaparate
  • Temas
  • Plugins
  • Patrones
  • Aprender
  • Soporte
  • Desarrolladores
  • WordPress.tv ↗
  • Involúcrate
  • Eventos
  • Donar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Español (Ecuador)

  • Visita nuestra cuenta de X (anteriormente Twitter)
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visita nuestra página de Facebook
  • Visita nuestra cuenta de Instagram
  • Visita nuestra cuenta de LinkedIn
  • Visit our TikTok account
  • Visita nuestro canal de YouTube
  • Visit our Tumblr account
El código es poesía.