# Get Discourse to recognize accounts verified in Wordpress (and WooCommerce) for SSO

**URL:** <https://meta.discourse.org/t/get-discourse-to-recognize-accounts-verified-in-wordpress-and-woocommerce-for-sso/137535>\
**Category:** WordPress\
**Created:** [2 בינואר,‏ 2020,‏ 6:51am UTC](https://meta.discourse.org/t/get-discourse-to-recognize-accounts-verified-in-wordpress-and-woocommerce-for-sso/137535 "2020-01-02T06:51:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)\
**Post date:** [2 בינואר,‏ 2020,‏ 6:51am UTC](https://meta.discourse.org/t/get-discourse-to-recognize-accounts-verified-in-wordpress-and-woocommerce-for-sso/137535/1 "2020-01-02T06:51:05Z")

</div>

Continuing the discussion from [How to turn off Discourse email verification?](https://meta.discourse.org/t/how-to-turn-off-discourse-email-verification/75365/4):

> [@How to turn off Discourse email verification?](https://meta.discourse.org/t/how-to-turn-off-discourse-email-verification/75365/4):
>
> The [WP Discourse](https://github.com/discourse/wp-discourse) plugin hooks into the WordPress registration process and verifies that the email sent by `wp_new_user_notification` was responded to.

Discourse is not recognizing our verified accounts. Here’s some context around our current site setup:

I’m using the [WP Discourse](https://github.com/discourse/wp-discourse) Plugin with WP as SSO Provider

> **Current SSO Settings \<img\>**
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/4/3/4363f22d11d55bbd722dc0814858fa20eaf22b4d.jpeg)

I’m currently using WooCommerce (WC) to manage new user registrations, here: [https://pickleballist.com/my-account](https://pickleballist.com/my-account)

I’m using a plugin called [Booster for WC](https://wordpress.org/plugins/woocommerce-jetpack/), which adds additional functionality to WC, including the ability to require email verification before a user can access their account.

> **Plugin Options \<img\>**
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/3/9/392af563e78aa944ed057a9e77bc49c67256db02.png)

> **Verification Email received \<img\>**
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/e/b/eb0200b743330b4ec000796f301ac07e77c2396b.png)

After the user clicks the link in their Account Activation email, they are taken to their /my-account/ page, in Wordpress. If a person tries to login with their registration credentials without clicking the verification link, they are told that their account first needs to be verified, and they get a link they can click to “resend verification email”

If you visit the “Users” page in the Admin console, you can easily see whose accounts have been verified and which ones have not.

> **User Accounts with Verification depiction \<img\>**
>
> ![Monosnap 2020-01-01 21-58-12](https://global.discourse-cdn.com/meta/original/3X/3/e/3ec3b0d3bcdd51b72df5428d1ceaa36753f9df12.jpeg)

Unfortunately, after this user has verified their email and then tries to visit our forums over at [https://forums.pickleballist.com](https://forums.pickleballist.com), they are not automagically logged in. 😞 But the worst part is that when they click the “Login” button on the forums, they are required to check their email and click the Discourse “Confirm your new account” email link.

Is there a way to get Discourse to check who is actually verified based on the metadata that is being received from WooCommerce?

I’m guessing this “Email Verification Module” is not touching `wp_new_user_notification` or else Discourse would see that, right? Can we have Discourse look for some other hook?

Looking forward to any insight here!

---

_[View the full topic](https://meta.discourse.org/t/get-discourse-to-recognize-accounts-verified-in-wordpress-and-woocommerce-for-sso/137535)._
