WordPress MediaWiki Cookie集成 [英] Wordpress MediaWiki Cookie Integration

查看:78
本文介绍了WordPress MediaWiki Cookie集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的Wordpress安装程序和MediaWiki 共享相同的登录信息.不幸的是,用户需要分别登录两者,但至少他们使用相同的凭据.

我想做的是导致在Wordpress博客上的成功登录也导致MediaWiki的登录(最好是双向登录).发生这种情况的方式有两种:

  1. 登录会导致其他应用程序登录(写入cookie并在数据库中创建会话)
  2. 访问一个应用程序会检查另一个应用程序的cookie,然后自动登录.

由于用户名是共享的,似乎后者应该很容易做到.任何提示将是伟大的.

解决方案

它们现在都支持 OpenId .

使用OpenId可能还有其他选择,但是我认为这是可用的最佳解决方案.

I have my Wordpress install and MediaWiki sharing the same login information. Unfortunately, users need to log into both separately, but at least they use the same credentials.

What I would like to do is cause a successful login on the Wordpress blog to also cause a login for MediaWiki (ideally both directions). There are two ways this could happen:

  1. Logging in causes a login on the other application (writes the cookie and creates the session in the DB)
  2. Accessing an application checks for the cookie of the other and then automatically logs in.

Since the usernames are shared it seems like the latter should be pretty easy to do. Any tips would be great.

解决方案

They both support OpenId now.

There are probably other options for using OpenId, but I think that is the best solution available.

这篇关于WordPress MediaWiki Cookie集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆