Title: Share Login
Author: Ashish Kakadiya
Published: <strong>2025 年 2 月 10 日</strong>
Last modified: 2025 年 2 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/share-login/assets/icon-256x256.png?rev=3237350)

# Share Login

 作者：[Ashish Kakadiya](https://profiles.wordpress.org/ashishkakadiya0002/)

[下载](https://downloads.wordpress.org/plugin/share-login.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/share-login/#description)
 * [评价](https://cn.wordpress.org/plugins/share-login/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/share-login/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/share-login/#developers)

 [支持](https://wordpress.org/support/plugin/share-login/)

## 描述

Share Login enables automatic login synchronization between two WordPress websites.
When configured, this plugin allows users who log into your main website to be automatically
logged into the secondary (sync) website without requiring a separate login.

**Key Features:**

 * Configure one WordPress site as the main site and another as the sync site
 * Automatic login on the sync site when users log into the main site
 * Secure authentication token handling
 * Easy to set up and configure
 * Works across different domains
 * Compatible with WooCommerce and other popular plugins

**Use Cases:**

 * Multiple WordPress websites that share the same user base
 * Member sites that require access to multiple platforms
 * Educational institutions with multiple web properties
 * Business websites with separate customer portals

### Configuration

**Main Site Setup:**
 1. Enter the sync site URL 2. Generate and save the authentication
key

**Sync Site Setup:**
 1. Enter the main site URL 2. Enter the authentication key
from the main site

### Third-Party Libraries

This plugin includes the following third-party libraries, bundled locally within
the plugin:

 1. Cross Storage

* Version: 1.0.0
 * License: MIT * Source: https://github.com/zendesk/cross-storage*
Local Path: public/js/cross-storage/

 1. Semantic UI

* Version: 2.5.0
 * License: MIT * Source: https://github.com/Semantic-Org/Semantic-
UI * Local Path: admin/semantic/

## 屏幕截图

[⌊Share Login Setup⌉⌊Share Login Setup⌉[

Share Login Setup

[⌊Main site configuration step 1⌉⌊Main site configuration step 1⌉[

Main site configuration step 1

[⌊Main site configuration step 2⌉⌊Main site configuration step 2⌉[

Main site configuration step 2

[⌊Main site configuration step 3⌉⌊Main site configuration step 3⌉[

Main site configuration step 3

[⌊Main site Dashbord⌉⌊Main site Dashbord⌉[

Main site Dashbord

[⌊Sync site configuration step 1⌉⌊Sync site configuration step 1⌉[

Sync site configuration step 1

[⌊Sync site configuration step 2⌉⌊Sync site configuration step 2⌉[

Sync site configuration step 2

[⌊Sync site configuration step 3⌉⌊Sync site configuration step 3⌉[

Sync site configuration step 3

[⌊Sync site Dashbord⌉⌊Sync site Dashbord⌉[

Sync site Dashbord

## 安装

 1. Upload the `share-login` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Share Login to configure your main and sync sites
 4. On the main site, enter the sync site’s URL and authentication key
 5. On the sync site, enter the main site’s URL and the same authentication key
 6. Test the configuration by logging into the main site

## 常见问题

### How does the automatic login work?

When a user logs into the main site, the plugin generates a secure token that is
passed to the sync site. The sync site validates this token and automatically logs
in the corresponding user.

### Is this secure?

Yes, the plugin uses secure authentication tokens and WordPress nonces to ensure
the login synchronization process is safe and secure.

### Can I use this with more than two sites?

Currently, the plugin supports one main site and one sync site configuration. Future
versions may include support for multiple sync sites.

### What are the system requirements?

 * WordPress 5.0 or higher
 * PHP 7.4 or higher
 * HTTPS enabled on both sites (recommended for security)
 * Cross-origin resource sharing (CORS) enabled

## 评价

此插件暂无评价。

## 贡献者及开发者

「Share Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ashish Kakadiya ](https://profiles.wordpress.org/ashishkakadiya0002/)

[帮助将「Share Login」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/share-login)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/share-login/)，查看[SVN仓库](https://plugins.svn.wordpress.org/share-login/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/share-login/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/share-login/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Main and sync site configuration
 * Automatic login synchronization
 * Security token handling

#### 1.1.0

 * Initial release

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/share-login/)
 * 标签
 * [shared login](https://cn.wordpress.org/plugins/tags/shared-login/)[Single Sign-on](https://cn.wordpress.org/plugins/tags/single-sign-on/)
   [sso](https://cn.wordpress.org/plugins/tags/sso/)
 *  [高级视图](https://cn.wordpress.org/plugins/share-login/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/share-login/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/share-login/reviews/)

## 贡献者

 *   [ Ashish Kakadiya ](https://profiles.wordpress.org/ashishkakadiya0002/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/share-login/)