Hopp til innhold
WordPress.org

Norsk (Bokmål)

  • Tema
  • Utvidelser
  • Nyheter
  • Om
  • Mønstre
  • Delta
  • Meetups
  • Slack
  • Kontakt
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

Auto Login for Sakura Rental Server

  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn
  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn

Auto Login for Sakura Rental Server

Av sakurainternet
Last ned
  • Detaljer
  • Omtaler
  • Installering
  • Utvikling
Brukerstøtte

Beskrivelse

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

Installasjon

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

Ofte stilte spørsmål

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.

Vurderinger

Det er ingen omtaler av denne utvidelsen.

Bidragsytere og utviklere

«Auto Login for Sakura Rental Server» er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen:

Bidragsytere
  • sakurainternet

Oversett «Auto Login for Sakura Rental Server» til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

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

  • Versjon 1.0.5
  • Sist oppdatert 4 måneder siden
  • Aktive installasjoner 10 000+
  • WordPress-versjon 5.0 eller nyere
  • Testet opp til 6.8.6
  • PHP-versjon 7.4 eller nyere
  • Språk
    English (US)
  • Stikkord
    auto loginclilogintoken
  • Avansert visning

Vurderinger

No reviews have been submitted yet.

Your review

Se alle omtalene

Bidragsytere

  • sakurainternet

Brukerstøtte

Har du noe å si? Trenger du hjelp?

Vis brukerstøtteforumet

  • Om
  • Nyheter
  • Hosting
  • Personvern
  • Fremvisning
  • Temaer
  • Utvidelser
  • Mønstre
  • Lær
  • Brukerstøtte
  • Utviklere
  • WordPress.tv ↗
  • Bli involvert
  • Arrangementer
  • Doner ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Norsk (Bokmål)

  • Besøk vår konto på X
  • Visit our Bluesky account
  • Besøk vår Mastodon-konto
  • Visit our Threads account
  • Besøk vår Facebook-side
  • Besøk vår Instagram-konto
  • Besøk vår LinkedIn-konto
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode er poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.