== Description ==

**Share Logins** keeps user accounts in sync across multiple WordPress sites. When a user registers, logs in, logs out, updates their profile, resets their password, or is deleted on one site — all connected sites reflect that change instantly.

No shared database required. Each site stays independent. Share Logins connects them via an encrypted REST API.

= How It Works =

1. Install and activate Share Logins on all sites you want to connect.
2. Set the same Secret Key on every site.
3. Add your remote site URLs on each site’s settings page.
4. Configure which user roles and metadata to sync.
5. Done — user events now propagate across all connected sites automatically.

= Features =

* **Real-time sync** — login, logout, register, update, delete, and password reset events sync instantly.
* **Encrypted communication** — all inter-site requests use bearer token authentication with encrypted payloads.
* **Granular control** — choose which user roles to sync, which user metadata fields to include, and toggle incoming/outgoing actions independently per site.
* **WooCommerce support** — syncs customers created via WooCommerce checkout (including Blocks-based checkout).
* **AffiliateWP support** — syncs users created via AffiliateWP affiliate registration.
* **WordPress Multisite support** — handles user creation, role assignment, and removal across multisite networks.
* **User migration** — export users from one site and import them on another using a `.cx` JSON file.
* **Activity log** — optional logging of all sync actions with direction, site, and timestamp.
* **Session management** — pending syncs are queued in the database and processed reliably.

= Supported Sync Actions =

| Action | Outgoing | Incoming |
|—|—|—|
| Login | ✓ | ✓ |
| Logout | ✓ | ✓ |
| Register | ✓ | ✓ |
| Profile Update | ✓ | ✓ |
| Password Reset | ✓ | ✓ |
| Delete | ✓ | ✓ |

Each action can be enabled or disabled independently per direction per remote site.

= Use Cases =

* **Membership networks** — one registration gives access to multiple sites.
* **Multi-brand setups** — keep the same user base across separate WordPress installs.
* **Staging environments** — push users from production to staging.
* **WooCommerce store networks** — customers register once, shop on any connected store.

== Installation ==

1. Upload the `share-logins` folder to `/wp-content/plugins/` or install via the WordPress plugin directory.
2. Activate the plugin on each site you want to connect.
3. Go to **Settings > Share Logins** on each site.
4. Under **Settings**, copy the Secret Key and set the same key on all sites.
5. Under **Remote Sites**, add the URLs of all other sites you want to connect.
6. Under **Connectivity**, select user roles and metadata to sync, and configure outgoing/incoming actions.
7. Click **Save** and use the status checker to verify the connection.

== Frequently Asked Questions ==

= Do all sites need Share Logins installed? =

Yes. The plugin must be active on every site that will participate in the sync.

= Does this require a shared database? =

No. Each site keeps its own database. Share Logins connects sites through REST API calls.

= Is it secure? =

All requests are authenticated using an encrypted bearer token derived from your Secret Key. The Secret Key must match on all connected sites. Keep it private.

= What happens if a remote site is offline? =

The sync request will fail silently for that site. There is no automatic retry. The activity log (if enabled) will record the attempt.

= Can I control which users are synced? =

Yes. Under **Connectivity**, choose which user roles to include. Users with excluded roles are ignored.

= Can I sync custom user metadata? =

Yes. Under **Connectivity**, select any user meta keys you want to include when syncing profile updates.

= Does it work with WooCommerce? =

Yes. Customers created during WooCommerce checkout (including the Blocks-based checkout) are synced to remote sites.

= Does it work with AffiliateWP? =

Yes. Users created via AffiliateWP affiliate registration are synced to remote sites.

= Does it work with WordPress Multisite? =

Yes. The plugin handles user creation and role assignment across multisite networks.

= How do I migrate existing users to a new site? =

Use the **Migrate Sites** tab. Export users from the source site as a `.cx` file, then import that file on the destination site.

== Screenshots ==

1. Remote Sites — add and manage connected site URLs.
2. Connectivity — configure user roles, metadata, and sync actions per direction.
3. Migrate Sites — export and import users between sites.
4. Settings — secret key, activity log toggle, and system report.

== Changelog ==

= 5.5.1 =
* Fix: WooCommerce Blocks checkout user sync now works correctly when REST_REQUEST is active.
* Fix: AffiliateWP affiliate registration now syncs users to remote sites.

= 5.5.0 =
* Updated Local.php.

= 5.0.0 =
* Major release with REST API architecture, encrypted token auth, and session management.

== Upgrade Notice ==

= 5.6 =
Fixes user sync for WooCommerce Blocks checkout and AffiliateWP registrations. Update recommended for all users running WooCommerce or AffiliateWP.

Plugin Category
Installation Guide
Changelog 5.2.4 (14.05.2025)
  • License activator fixed
5.2.3 (13.10.2023)
  • License activator fixed
5.2.2 (22.12.2022)
  • License type changed
  • Compatibility added for WooCommerce user creation
5.2.1 (20.12.2022)
  • Code cleaned
  • Fetching users by email instead of username
5.2.0 (02.12.2022)
  • Codebase completely rewritten
2.1.3 (23.11.2019)
  • [improve] Destroy session when needed
2.1.2 (17.11.2019)
  • [improve] Better session management
2.1.1 (17.11.2019)
  • [fix] Large export stops working
  • [improve] Log sort
2.1.0 (09.10.2019)
  • [fix] Bug fixed
  • [fix] Warning fixed
  • [add] User role selector added
2.0.2 (02.10.2019)
  • [fix] Bug fixed
2.0.1 (23.09.2019)
  • [fix] Bug fixed
2.0 (19.09.2019)
  • [add] Multisite compatible
  • [add] User role handling
  • [add] User meta handling
  • [fix] Bug fixed
  • [improve] UI Improved
1.30 (21.05.2019)
  • [add] Validator
  • [add] Help section
  • [improve] Code Improved
1.20 (22.03.2019)
  • [improve] Code Improved
  • [add] Native List Table implemented for logs
1.10 (06.01.2019)
  • [improve] Code Improved [improve] CSS and JS minified
1.0 (05.12.2018)
  • Initial release
PHP version 7.4
WP Version 5.0
Tested up to 6.1

Reviews

Average rating: 4.82 out of 5 stars
11 reviews
5 stars
9
4 stars
2
3 stars
2 stars
1 star
  • Great plugin and support

    We have used he Share Login Pro.
    Great plugin and the support was instant solving any issues at once.

  • Amazing plugin!

    This plugin deserves more love than it’s getting. It makes it so darn easy and secure to sync user accounts between WP installs! Saved me a lot of time and a huge headache.

    Thank you so very much for sharing this plugin with the community!

  • Great solution!

    This is by far the most practical way to sync users and Login/Logout to different WP sessions without headaches. It saves a lot of time. I deserves to be more promoted and supported. It works like charm directly out of the box. Tested up to 6.1.1 Please do not abandon it – no existing alternatives as I know to achieve this very useful task.

    All the best!

  • Great plugin

    Great plugin. So useful. It would be useful if you create a detailed video tutorial

  • Amazing plugin!

    Amazing plugin. It just works, and so useful. It would be even better if it allowed sync credentials to be stored in wp-config.php instead.

  • Great Plugin

    I have alot of site within my network, and this plugin is the best in syncing them all together. Thank You for a great plugin!!!

  • I Just Want to Say Thank You

    I have been looking for a plugin like this for years. I am grateful to the developer for giving me the ability to sync multiple websites together at no cost. Where else would I have gotten the ability to do something like this?

    Now because of the developer I can distribute the load of my website across several subdomains and the users will not notice that they are actually on different subdomains. Now, I do not have to worry about installing too many plugins on one wordpress installation. I can spread things around different WP installations.

    Please never stop keeping this plugin up to date because now my business depends on it. Cheers.

  • An amazingly effective solution

    I spent months trying to find a simple but effective solution to linking multiple websites together and enabling Single Sign-On Authentication. I finally discovered this plugin on a discussion page and was amazed at the generosity of the developer. I’m truly grateful for the clever people such as this developer that that put in time to create solutions that I know many people are desperately searching for.

  • Works like charm

    If you need to sync users between WordPress sites, this the go-to plugin.

    You also have the ability to send custom meta information like in WooCommerce and
    a few other plugins as well.

  • Fantastic plugin

    We have used the plugin to sync two sites together. One a woo store which you purchase access, then you are synced to the second site where you get access to the learning platform.

    It works perfectly and is easy to setup. When we had an issue some swift response spotted the issue with another plugin, which once tweaked to use the default link, it resolved the issue.

    Great plugin and service.

  • Wonderful work!

    I just activated the plugin and it works as expected.
    I’m not using fancy configuration, but I’ve taken a look at the configuration options and I think this is one of the most well made plugins I ever tried. Perfect!

  • You must log in to submit a review.

    Leave a Reply

    Your email address will not be published. Required fields are marked *