# 创建用户 - SSO

**URL:** https://meta.discourse.org/t/create-users-sso/172418
**Category:** Support
**Created:** [2020年十二月6日 19:27 UTC](https://meta.discourse.org/t/create-users-sso/172418 "2020-12-06T19:27:28Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2020年十二月7日 17:50 UTC](https://meta.discourse.org/t/create-users-sso/172418/4 "2020-12-07T17:50:53Z")

</div>

所以您正在使用 wp-discourse？

您可能还会看到 [Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/managing-discourse-group-membership-with-wp-discourse-sso/74724)

> [@pfaffman](#):
>
> 您是否在使用某些非标准的 WordPress 身份验证插件？

这是我提到的一个部分：

> [@simon](#):
>
> #### 当 WordPress 作为 SSO 提供者时的邮箱验证
> 
> Discourse 期望所有用户的邮箱地址都已验证；而 WordPress 不会强制用户验证其邮箱地址。在默认的 WordPress 设置中，在注册过程中验证用户邮箱地址相对容易，但如果网站使用了创建前端注册表单的插件（例如，通过 WooCommerce 可添加的注册表单），[WP Discourse](https://github.com/discourse/wp-discourse) 插件将无法验证用户的邮箱。在这种情况下，WordPress 用户必须响应 Discourse 发送的邮箱验证通知，才能登录论坛。该插件提供了一些过滤器，可用于覆盖此行为。请查看代码，从 [此处](https://github.com/discourse/wp-discourse/blob/master/lib/sso-provider/discourse-sso.php#L277) 开始，以获取详细信息。

---

_[View the full topic](https://meta.discourse.org/t/create-users-sso/172418)._
