WordPress.org

China 简体中文

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

Plugin Directory

CoSign Single Signon

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

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

CoSign Single Signon

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

描述

CoSign SSO is a WordPress plugin that provides several alternative authentication methods to WordPress, and it maybe easily extend to support more SSO login methods. CoSign v2 and CoSign v3 are the first two Single Sign-on(SSO) addins, that whay this plugin named. The other login method is just a by-product which provides LDAP authentication.

When this plugin is enabled, and the login method is set to SSO, then using a external CoSign single sign-on login service. When user click login, browser will redirect to remote login url, and will redirect back after successful logged in. If set login method to LDAP, login with the familiar login screen, but authentication backend changed to LDAP.

Whether using SSO or LDAP login method, LDAP options must provided to fetch user account information. If the logged in user account does not exists, create it on the fly by default.

Settings

The settings for CoSign SSO are extremely simple. But before you change the login method to ‘SSO’ or ‘LDAP’, you mast check options for cosign and ldap carefully. Wrong configrations will ban all users including yourself!

If you cannot login any more, don’t blame me. A trick may help you:

$ touch <PLUGIN_DIR>/cosign-sso/FALLBACK

If the fallback file contains “ldap”, “cosign2”, or “cosign3”, it will fallback to the right login method.

After you correct the settings, not forgot to remove the FALLBACK file.

Notes for CoSign 3.x:

  • CoSign 3.x filter needs to add a “/cosign/valid” location as cosign handler.
  • If wordpress uses a permlink, which means the RewriteRule in .htaccess may conflict with the “/cosign/valid” handler.
  • You can hack wp-includes/rewrite.php, add “RewriteRule ^cosign/valid – [L]” right after “RewriteBase” directive.

Localization

This section describes how to localized, which means let cosign-sso speak in your language.

  • POT file : cosign-sso/languages/cosign_sso.pot
  • Copy pot file to your locale, such as cosign-sso/languages/cosign_sso-zh_CN.pot for Chinese.
  • Translate it using your favorate editor. lokalize and kbabel are recommended.
  • Convert po to mo using command:
      $ cd plugins/cosign-sso/languages
      $ msgfmt cosign_sso-zh_CN.po -o cosign_sso-zh_CN.mo

Known Issues

No known issues at this time.

If you find any bugs or want to request some additional features for future releases, please log them on the wordpress project of homepage for our interest projects

屏幕截图

  • Options for CoSign SSO in English.
  • Options for CoSign SSO in Chinese.

安装

This section describes how to install the plugin and get it working.

  1. Download the archive and expand it.
  2. Upload the cosign-sso folder into your wp-content/plugins/ directory
  3. In your WordPress Administration Area, go to the Plugins page and click Activate for CoSign SSO

Once you have CoSign SSO installed and activated you can change it’s settings in Settings > CoSign SSO.

常见问题

CoSign login url changed, can not login!!!

If CoSign login url changed, when user login the web browser will redirect to wrong place.
If this happens, you can simply FALLBACK to LDAP authenticate backend or DISABLE this plugin totally.

  • To disable this plugin, simply create a file named FALLBACK under the plugin directory.
    $ echo -n > /cosign-sso/FALLBACK
  • To fallback to LDAP auth backend, simply create a file named FALLBACK with the content “LDAP”.
    $ echo LDAP > /cosign-sso/FALLBACK

After you correct the settings, not forgot to remove the FALLBACK file.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者
  • jiangxin

帮助将「CoSign Single Signon」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

0.3.1

  1. Code refactor.
  2. Add CoSign v3 support as a new login method.

0.3.0

  1. Add support for CoSign 3.x protocol.
  2. Add cosign protocol settings in admin pannel, which support for both 2.x and 3.x.

0.2

  1. FALLBACK to LDAP auth backend if a FALLBACK file exists with “LDAP” in it.
  2. A blank file FALLBACK exists, disable this plugin totally.

0.1

  1. Initial release.

额外信息

  • 版本 0.3.1
  • 最后更新:15 年前
  • 活跃安装数量 10+
  • 已测试的最高版本为 2.9.2
  • 语言
    English (US)
  • 标签
    authenticationldaploginsso
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • jiangxin

支持

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

查看支持论坛

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

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • Visit our TikTok account
  • 访问我们的 YouTube 频道
  • Visit our Tumblr account
代码如诗