跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Share Login

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Share Login

作者:Ashish Kakadiya
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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
  • Main site configuration step 1
  • Main site configuration step 2
  • Main site configuration step 3
  • Main site Dashbord
  • Sync site configuration step 1
  • Sync site configuration step 2
  • Sync site configuration step 3
  • 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

帮助将「Share Login」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

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)
  • 标签
    shared loginSingle Sign-onsso
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Ashish Kakadiya

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.