# استخدام Discourse مع s2member

**URL:** <https://meta.discourse.org/t/using-discourse-with-s2member/79366>\
**Category:** WordPress\
**Created:** [30 يناير 2018، 1:27م UTC](https://meta.discourse.org/t/using-discourse-with-s2member/79366 "2018-01-30T13:27:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Collins1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_collins1/32/76781_2.png) [@Ryan\_Collins1](https://meta.discourse.org/u/Ryan_Collins1)\
**Post date:** [30 يناير 2018، 1:27م UTC](https://meta.discourse.org/t/using-discourse-with-s2member/79366/1 "2018-01-30T13:27:28Z")

</div>

Hi team,

I have my Discourse forum connected to my Wordpress site via SSO.

Users get access to my Discourse forum (as well as my Wordpress site) as part of a paid membership. I am using s2member as my Wordpress membership plugin.

If someone cancels their membership, ideally they would also lose access to my Discourse forum.

The way s2member functions, if someone cancels their membership, they are automatically downgraded from a Level 1 member to a Free Subscriber. This works great on my Wordpress website, but there is no “communication” with Discourse…so that user who cancelled would lose access to my Wordpress site, but still have access to the forum.

I’m curious if there is a way of automatically removing/downgrading users who cancel from my Discourse forum?

Thanks for any ideas. Much appreciated! ✌

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-with-s2member/79366)._
