# Discourseプラグインを削除してもシングルサインオンが残る

**URL:** https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910
**Category:** SSO
**Created:** [2022 年 6 月 14 日午前 10:22 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910 "2022-06-14T10:22:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Feddy2021](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/feddy2021/32/263654_2.png) [@Feddy2021](https://meta.discourse.org/u/Feddy2021)
#### Post date: [2022 年 6 月 14 日午前 10:22 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910/1 "2022-06-14T10:22:52Z")

</div>

こんにちは。SSOを利用するために、最初にDiscourseプラグインをインストールしました。これはうまく機能していましたが、本日、SSOがすでに設定されていることを忘れ、別のプラグイン（PrimeTime [WP Discourse](https://github.com/discourse/wp-discourse) SSO）を使用して再度設定してしまったため、問題が発生しました。  
これが競合を引き起こしたに違いありません。なぜなら、両方のDiscourse SSOプラグインをアンインストールしたにもかかわらず、Discourseのコミュニティにアクセスできず、コミュニティURLから私のウェブサイトへのリダイレクトが発生しているからです。  
私は技術に詳しくありませんが、削除したにもかかわらず、どこかにコードが残っているのではないかと思います。  
すべてをクリアして、Discourseプラグインで最初からプロセスをやり直す方法について、何か考えはありますか？  
私が台無しにする前は、うまく機能していました！  
よろしくお願いします！

---

<div class="post-metadata">

### Author: ![William\_Gary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/william_gary/32/263570_2.png) [@William\_Gary](https://meta.discourse.org/u/William_Gary)
#### Post date: [2022 年 6 月 14 日午前 10:33 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910/2 "2022-06-14T10:33:38Z")

</div>

きっとあなたにも役立つでしょう

> [@Configure single sign-on (SSO) with WP Discourse and DiscourseConnect](https://meta.discourse.org/t/wp-discourse-and-discourseconnect/223494#login-via-usersadmin-login-14):
>
> The WP Discourse plugin lets you set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) in Wordpress so your users can use their Wordpress account to log into Discourse, or their Discourse account to log into Wordpress. Before you can set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) you first have to install the WP Discourse plugin on Wordpress and Connect it to your Discourse. If you’re ready to get started, start by watching this short video, or follow the instructions below. Next Step Once you’ve set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), you may want to check o…

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022 年 6 月 14 日午前 10:51 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910/3 "2022-06-14T10:51:37Z")

</div>

> [@Feddy2021](#):
>
> これが競合の原因となったはずです。なぜなら、現在、両方の[Discourse SSO](https://meta.discourse.org/t/13045)プラグインをアンインストールしても、Discourseのコミュニティにアクセスできず、コミュニティのURLから私のウェブサイトへのリダイレクトが発生しています。意味が通じれば幸いです。

SSOをバイパスして管理者設定からリセットするには、`[YourSite]/users/admin-login`リンクを使用できるはずです。👍

再度ログインできるようになったら、確認する価値のある設定をいくつか追加します。

- `enable discourse connect`
- `enable discourse connect provider`
- `enable local logins`

管理者設定を「上書きのみ表示」でフィルタリングして、変更したものだけを表示することもできます。👍

 ![Untitled](https://global.discourse-cdn.com/meta/original/4X/3/e/5/3e5e29d6b702276c70321e1a93edcb82b2cf3830.png)

---

<div class="post-metadata">

### Author: ![Feddy2021](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/feddy2021/32/263654_2.png) [@Feddy2021](https://meta.discourse.org/u/Feddy2021)
#### Post date: [2022 年 6 月 14 日午後 9:05 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910/4 "2022-06-14T21:05:31Z")

</div>

大変参考になりました。@William_Gary、@JammyDodger、ありがとうございます。すべてうまくいき、現在ログインできています。上記のガイダンスを確認し、すべてを再度設定します。  
本当にありがとうございました！😀

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022 年 10 月 27 日午後 6:21 UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910/5 "2022-10-27T18:21:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
