WordPress MediaWiki Cookie集成 [英] Wordpress MediaWiki Cookie Integration
问题描述
我有我的Wordpress安装程序和MediaWiki
我想做的是导致在Wordpress博客上的成功登录也导致MediaWiki的登录(最好是双向登录).发生这种情况的方式有两种:
- 登录会导致其他应用程序登录(写入cookie并在数据库中创建会话)
- 访问一个应用程序会检查另一个应用程序的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:
- Logging in causes a login on the other application (writes the cookie and creates the session in the DB)
- 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屋!