sandywp / plugins / softgenlab-temporary-login-links
Softgenlab Temporary Login Links
Give developers temporary access to WordPress without sharing your password. Private login links that expire automatically.
Ready in seconds.
v1.0.3 WP 5.8+ PHP 7.4+

About this plugin
Need to let a developer, designer or support agent into your WordPress site? Stop sharing your admin password or creating accounts you forget to delete.
This plugin creates a private login link with the permissions you choose. When the time is up, the link stops working and the person is logged out.
Features
- Temporary login links – from 1 hour to 90 days, with no password needed.
- Expires automatically – expired users are logged out on their next request and removed after a week.
- Extend, renew or revoke access with one click.
- Role editor with ready-made presets: Website work (content, design and products, without code, settings, orders, customers or users), Plugins, and Content only.
- Clear labels show which permissions reveal orders, customers or user accounts, and which can change code or settings.
- Activity log of logins, changes and blocked attempts, stored on your own site.
- Works with WooCommerce.
How this plugin protects your site
- Temporary users can only log in with their link – never with a password, password reset or application password.
- Expired or revoked users are treated as logged out on every route: normal pages, the dashboard, admin-ajax, the REST API and XML-RPC.
- Temporary users cannot create, promote or edit user accounts, and cannot deactivate this plugin from the Plugins screen.
- You can only give out, renew or extend access with permissions you have yourself.
- Link tokens are 256-bit random values. The database stores only a keyed hash of each token. Right after you create a link, an encrypted copy is kept for up to 5 minutes so it can be shown to you once; the key to decrypt it is held only in your browser, and the copy is deleted as soon as it is shown.
- Login cookies never last longer than the access itself.
- Invalid links are rate limited per IP address.
- If you deactivate this plugin, every temporary account is locked: its roles are set aside, its password is replaced with an unknown random one (cancelling any password reset), and its sessions, application passwords and link are removed. Reactivating gives the roles back; links stay off until you create new ones.
- This plugin makes no external requests.
What expiry can and cannot do
Expiry ends someone’s access. It cannot undo what they did while they had it.
Anyone you give code-level permissions – installing, activating or editing plugins and themes, editing files, unfiltered HTML, importing, or changing site settings – can make changes that stay on the site after their access ends, and could use those changes to get back in or to reach data their role does not show. This plugin cannot prevent that. This plugin asks you to confirm before creating a login with these permissions. Only give them to people you trust, and review the site when the work is done.
The “Website work” and “Content only” presets leave these permissions out. The “Plugins” preset includes them, and says so.
Pro version
The Pro version adds one-time links, IP restrictions, scheduled access, blocked areas, email and Slack alerts, emailing links to your developer, CSV export of the activity log, white label and priority support. Your temporary logins carry over when you upgrade, and the free version switches itself off while Pro is active.
Credits and licenses
This plugin is released under the GPLv2 or later. All code, styles and artwork in this plugin, including the logo (assets/logo.png), are original work by Softgenlab and are released under the same license. It uses no third-party libraries; link encryption uses the libsodium functions built into PHP and WordPress.
Questions
- Does this plugin let an outside service manage my site?
No. There is no remote service, account, API or server involved, and the plugin makes no outside connections. A link is created by an administrator of your own site, for one person that administrator chooses, with only the permissions that administrator picks (never more than they have themselves). The link works only on your site, expires on its own, and can be revoked at any time. Nobody can create or use a link without being logged in to your site as an administrator.
- Do temporary users need a password?
No. They log in with their private link only. Password logins and password resets are blocked for temporary accounts.
- What happens when access expires?
The link stops working and the person is logged out on their next request. Expired logins are deleted automatically after 7 days, and any content they created is given to the person who created the login, or to an administrator.
- Can a temporary user give themselves permanent access?
Not through user accounts: temporary users cannot create or edit users, create application passwords, reset passwords or deactivate this plugin from the Plugins screen.
But if their role can change code or site settings (for example install or edit plugins, edit theme files, or change who can register), they could add code or settings that keep working after their access ends. Expiry cannot undo those changes. Use the “Website work” or “Content only” preset unless the person really needs that level of access, and only give it to people you trust.
- Can I hide WooCommerce orders and customers?
Yes. Create a role with the “Website work” preset, which leaves out orders, customers, user accounts, code and settings, then choose that role for the temporary login. A role that can change code is never labelled “Customer data hidden”, because code access can be used to reach that data.
- Who can renew or extend a login?
Only someone who has every permission that login has. A user who can manage temporary logins cannot renew, extend or take over one that is more powerful than they are.
- I lost the link. Can I see it again?
For security, links are shown only once. Click “New link” to create a fresh one; the old link stops working.
- What data does this plugin store?
Everything stays in your own WordPress database:
- For each temporary login: a label, the expiry time, who created it, the last login time and a hash of the link token.
- An activity log of the last 200 events (logins, created, extended, revoked and deleted logins, role changes and blocked link attempts). Each entry stores the time, the login’s label, the admin who acted and the visitor’s IP address. You can clear it at any time under Activity.
Nothing is sent to other servers.
sandywp / also on the shelf
Try another plugin
Temporary Login Without Password
5.0 · 90K+ installs
Give developers or support staff temporary admin access to your WordPress site — no username, no password, and it expires…
-
Create secure, time-limited WordPress access for trusted developers, support teams, freelancers, and clients without sharing a…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.