FleetWP is live. Read the launch announcement
FleetWP Docs
Platform

One-click login

Open a site's wp-admin from FleetWP without a password, as the WordPress administrator you choose.

One-click login signs you in to a site's WordPress dashboard from FleetWP, with no password to look up. Each login uses a fresh single-use link that expires after two minutes.

Log in

Use either Login button on a connected site:

  • Login on the site card in the site's sidebar.
  • Log in to admin in the header of the site's overview page.

wp-admin opens in a new tab, already signed in. If your browser blocks the tab, FleetWP tells you so; allow pop-ups for FleetWP and try again.

Choose which administrator

The first time you log in to a site, FleetWP asks which WordPress administrator to sign in as (Log in to wp-admin as…). The list shows the site's administrator accounts with their emails. Pick one and choose Log in.

Always log me in to this site as this account is ticked by default. With it on, later clicks log you straight in as that account. The choice is saved per team member, so teammates can each use their own WordPress account.

To change it, open the site's Settings page and find the One-click login card. Choose Change (or Choose account) to pick another administrator, or Clear to be asked again next time.

If the saved account is no longer an administrator on the site, FleetWP says so and asks you to choose another.

How it works

  1. FleetWP sends a signed request to the connector on your site, naming the account to log in as.
  2. The connector checks that the account can manage the site (the manage_options capability) and creates a random, single-use token that expires after 2 minutes.
  3. FleetWP opens the site's wp-admin with that token. The connector uses it up on the first visit, signs you in and takes you to the dashboard.

The token can't be used twice, and an unused one simply expires. FleetWP never stores or sees a WordPress password. The login runs through WordPress's normal login hook, so security and audit plugins on the site record it like any other login.

When a login is requested without a chosen account (for example through the API or CLI), the connector signs in as the site's first administrator.

Who can use it

One-click login gives full wp-admin access, so it's limited:

  • Owners and admins can log in to any connected site.
  • Members (read-only) can't.
  • Restricted members need a Read & write access rule for One-click Login on that site.
  • Agents need the same Read & write rule, Autonomous authority and a token with write actions allowed. A propose-only agent can't log in, because a login can't wait for approval.
  • API tokens not tied to an agent can log in to any site if write actions are allowed.

See Team and permissions for roles and access rules.

One-click Login is a per-site feature, on by default. Turn it off in a site's Settings to remove the Login buttons for that site.

Activity

Every login is recorded in the site's activity log with who requested it, including which WordPress account when one was chosen. Changing your saved account is logged too.

Troubleshooting

  • "This site isn't connected.": one-click login needs a connected site. Reconnect the site, then try again.
  • "Couldn't reach the site to create a login link.": FleetWP couldn't reach the connector. A firewall, security plugin or CDN challenge that blocks inbound requests is the usual cause. See Troubleshooting.
  • "That WordPress account isn't an administrator on this site any more.": pick another account in the dialog that opens.
  • The link landed on the login screen: the link was already used or more than two minutes passed before it opened. Click Login again for a fresh one.

On this page