# رسائل البريد الإلكتروني للإشعارات للمستخدمين الجدد لا تُرسل مع SSO

**URL:** <https://meta.discourse.org/t/notification-emails-of-new-users-not-being-sent-with-sso/84212>\
**Category:** WordPress\
**Created:** [30 مارس 2018، 9:27ص UTC](https://meta.discourse.org/t/notification-emails-of-new-users-not-being-sent-with-sso/84212 "2018-03-30T09:27:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![k4rtik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/k4rtik/32/119508_2.png) [@k4rtik](https://meta.discourse.org/u/k4rtik)\
**Post date:** [7 مارس 2019، 11:37ص UTC](https://meta.discourse.org/t/notification-emails-of-new-users-not-being-sent-with-sso/84212/9 "2019-03-07T11:37:16Z")

</div>

> [@simon](#):
>
> You should see a notification if you are a moderator on the site. Admins do not get the pending user notification.

Thanks for the clarification. I noticed this discrepancy (a feature) about a year and made sure to add myself in the moderators group as well.

> [@simon](#):
>
> If you set the `require_activation` SSO parameter to `true` and enable the “must approve users” setting, users will not show up on the Pending list until they are manually activated by a staff member from the Admin / Users / New page.

Understood. This is what I observed and it changed as expected after turning off `require_activation` but it wasn’t clear initially.

> [@simon](#):
>
> There do seem to be some conflicts between using SSO and enabling the “must approve users” setting. Ideally, when SSO is enabled, the SSO provider site would be used to limit access to your forum. Unfortunately, this can only be done by adding some custom code to your site. There are details about how to do that in this post: [How to prevent some WP users from being able to login to Discourse](https://meta.discourse.org/t/how-to-prevent-some-wp-users-from-being-able-to-login-to-discourse/93234/2).

I am actually not using WP SSO, but rather a custom SSO provider that hooks up with my University’s Shibboleth deployment. We currently already limit access to a subset of University users using the custom SSO provider. But the scenario I am facing is that I would like to auto approve users who are part of a group specified in `add_groups` but would like to manually approve everyone else passing current filtering by the SSO provider. I tried looking up if I could pass `approved: true` or some such flag through the SSO API but it doesn’t seem to exist. Am I thinking it right that the way to accomplish this is by creating a custom plugin at Discourse’s end (as opposed to at the SSO provider’s code) which looks at incoming SSO request, filters over `add_groups` and passes `approved: true` while creating a new user?

Or is there a simpler way?

---

_[View the full topic](https://meta.discourse.org/t/notification-emails-of-new-users-not-being-sent-with-sso/84212)._
