# 使用 Discourse SSO 与 Mediawiki

**URL:** <https://meta.discourse.org/t/use-discourse-sso-with-mediawiki/69218>\
**Category:** Administrators\
**Tags:** sso, how-to\
**Created:** [2017 年9 月 1 日 16:57 UTC](https://meta.discourse.org/t/use-discourse-sso-with-mediawiki/69218 "2017-09-01T16:57:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![SXX](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sxx/32/119649_2.png) [@SXX](https://meta.discourse.org/u/SXX)\
发布日期： [2018 年6 月 25 日 10:22 UTC](https://meta.discourse.org/t/use-discourse-sso-with-mediawiki/69218/3 "2018-06-25T10:22:44Z")

</div>

> [@bekircem](#):
>
> Edit: I checked database tables. There is no sso\_login table in database. ☹ I fixed it but

How exactly you fixed it? Database table supposed to be created on you manually run script by visiting it first time browser.

> [@bekircem](#):
>
> I fixed that too. But still doesn’t work. User’s can’t login wiki after login to Discourse.

Can you clarify what exactly is wrong?

If it’s 404 then you need to make sure that `discourse-sso.php` file is located in right directory.

---

_[View the full topic](https://meta.discourse.org/t/use-discourse-sso-with-mediawiki/69218)._
