# 使用WP Discourse和DiscourseConnect配置单点登录（SSO）

**URL:** https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494
**Category:** Administrators
**Tags:** sso, wordpress, video, discourseconnect, how-to
**Created:** [2022 年4 月 6 日 13:15 UTC](https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494 "2022-04-06T13:15:15Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### 作者： ![Shauny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shauny/32/362012_2.png) [@Shauny](https://meta.discourse.org/u/Shauny)
#### 发布日期： [2025 年11 月 22 日 08:22 UTC](https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494/16 "2025-11-22T08:22:13Z")

</div>

嗨，Angus，我想知道您是否能帮我解决我遇到的这个问题，我的主题没有得到任何回复：

> [@Anonymising a user with SSO, keeps being recreated](https://meta.discourse.org/t/anonymising-a-user-with-sso-keeps-being-recreated/383274?u=shauny):
>
> I am using SSO from WordPress to Discourse. If I anonymise a user, with the intention of removing the name and picture against all their posts (the user is banned), then if that user logs in again in WordPress it allows them to create a brand new account in Discourse based on their profile, which essentially unbans them as a new account. This is a problem. Is there a way to mark some people in the system as “Do not let them create a new account with this same email address” or something?

基本上，如果我将用户匿名化，SSO 插件就会为他们创建一个新帐户。有没有办法单独禁用用户以阻止他们创建新帐户，并且当我对某人实施禁令或匿名化时，它能否自动同步？

---

_[View the full topic](https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494)._
