# Create users - SSO

**URL:** https://meta.discourse.org/t/create-users-sso/172418
**Category:** Support
**Created:** [December 6, 2020, 7:27pm UTC](https://meta.discourse.org/t/create-users-sso/172418 "2020-12-06T19:27:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Per\_Jacobsson1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per_jacobsson1/32/202417_2.png) [@Per\_Jacobsson1](https://meta.discourse.org/u/Per_Jacobsson1)
#### Post date: [December 6, 2020, 7:27pm UTC](https://meta.discourse.org/t/create-users-sso/172418/1 "2020-12-06T19:27:28Z")

</div>

Hi,

I am trying to solve an issue with an existing forum.

Our members can register on our site (Wordpress) and purchase a subscription.

They should then automatically get a login to our Discourse forum.

However at present they have to click on “[discussion.genocidescholars.org](http://discussion.genocidescholars.org)” and they get the message that an account has been created and to check their email for a confirmation email which they need to click on.

We want this process to be automated, so I experimented by automatically creating a new user on Discourse via the API when a user signs up our our Wordpress website, and that worked fine. But then we you go to [discussion.genocidescholars.org](http://discussion.genocidescholars.org) you are told:

“Login Error

An account could not be registered with the email address info@jejjcop.se. Please contact the site’s administrator.”

Is it not possible to use the API in this way or does it some how screw up the SSO process?

If you can think of any other solution to our problem I would be very happy to hear.

Many thanks!

---

<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: [December 7, 2020, 12:15am UTC](https://meta.discourse.org/t/create-users-sso/172418/2 "2020-12-07T00:15:42Z")

</div>

Have you looked at [WP Discourse plugin installation and setup](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752)? There is information there about this issue. Are you using some non standard WordPress authentication plugin?

---

<div class="post-metadata">

### Author: ![Per\_Jacobsson1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per_jacobsson1/32/202417_2.png) [@Per\_Jacobsson1](https://meta.discourse.org/u/Per_Jacobsson1)
#### Post date: [December 7, 2020, 8:26am UTC](https://meta.discourse.org/t/create-users-sso/172418/3 "2020-12-07T08:26:01Z")

</div>

Thank you very much Jay, Ive looked at the page you linked to. I cant seem to find any specific information about this problem.  
Can you point me to something in particular please?

Thanks

---

<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: [December 7, 2020, 5:50pm UTC](https://meta.discourse.org/t/create-users-sso/172418/4 "2020-12-07T17:50:53Z")

</div>

So you are using wp-discourse?

You might also see [Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/managing-discourse-group-membership-with-wp-discourse-sso/74724)

> [@pfaffman](#):
>
> Are you using some non standard WordPress authentication plugin?

This is one section I was referring to:

> [@Install and configure the WP Discourse Wordpress plugin for Discourse](https://meta.discourse.org/t/install-and-configure-the-wp-discourse-wordpress-plugin-for-discourse/50752/1):
>
> #### Email Verification When WordPress is the SSO Provider
> 
> Discourse expects all user’s email addresses to be verified; WordPress doesn’t force users to verify their email address. In a default WordPress setup it is fairly easy to verify a user’s email address during the registration process, but if a site is using a plugin that creates a front end registration form - for example, the registration form that can be added with WooCommerce - the [WP Discourse](https://github.com/discourse/wp-discourse) plugin isn’t able to verify the user’s email. In this case, before a WordPress user will be able to login to the forum, they will need to respond to an email verification notice that is sent out by Discourse. The plugin has a couple of filters that can be used to override this behaviour. Take a look at the code, starting [here](https://github.com/discourse/wp-discourse/blob/master/lib/sso-provider/discourse-sso.php#L277), for details.
