# Discourse Memberful integration

**URL:** https://meta.discourse.org/t/discourse-memberful-integration/60798
**Category:** Extras
**Tags:** payments
**Created:** [April 11, 2017, 5:11pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798 "2017-04-11T17:11:03Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [August 25, 2020, 1:12am UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/22 "2020-08-25T01:12:04Z")

</div>

I’m not sure, you’ll probably have to import them into memberful and I think it would sync by email, I would reach out to memberful to find out the best path forward.

---

<div class="post-metadata">

### Author: ![rossmith49](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rossmith49/32/191535_2.png) [@rossmith49](https://meta.discourse.org/u/rossmith49)
#### Post date: [August 25, 2020, 2:42am UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/23 "2020-08-25T02:42:55Z")

</div>

Will do, thanks for the help in this one.

---

<div class="post-metadata">

### Author: ![mognet](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mognet](https://meta.discourse.org/u/mognet)
#### Post date: [September 29, 2021, 11:11pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/24 "2021-09-29T23:11:36Z")

</div>

Still got my doubts about the mandatory SSO with Memberful, to register as users on Discourse does it has to be done with Memberful SSO?, not sure if this could work if i use Wordpress SSO with Discourse but let users register with a free account to post only on Discourse, and registered members with Memberful get access to private groups.

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [September 30, 2021, 7:47pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/25 "2021-09-30T19:47:14Z")

</div>

You can allow free signups with memberful alongside paid plans. Give it a try on my site if you like [https://npn.memberful.com/register](https://npn.memberful.com/register) It automatically creates a user in memberful, Wordpress, and Discourse that are all synced.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [September 12, 2023, 6:46pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/26 "2023-09-12T18:46:19Z")

</div>

Hi, Memberful and Discourse appear to have a conflict between each other.

Discourse only allows automatic logins via Memberful if the Discourse setting “Login Required” is turned ON.

For communities that are only accessible to paid members, this is a good solution.

However, for freemium communities, or communities that have both a paid membership and a free membership for whatever reason, it means that the automatic login functionality is broken. This makes it hard for anyone to log in to the community.

One option would be to disconnect Memberful and Discourse. Then, manually update permissions in Discourse when a new paid member joins the community (and sell paid memberships via Stripe, ConvertKit, etc.).

However, it’d be ideal if there was a way for Memberful to enable the automatic login even when the Discourse setting “Login Required” is OFF.

I welcome any thoughts/suggestions.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [September 12, 2023, 8:41pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/27 "2023-09-12T20:41:06Z")

</div>

> [@outofthebox](#):
>
> However, it’d be ideal if there was a way for Memberful to enable the automatic login even when the Discourse setting “Login Required” is OFF.

Is the problem that users are clicking a link to your Discourse site from Memberful and not being automatically logged in, or is the problem with users who are visiting the Discourse site directly and are unsure about how to login to Discourse?

The first problem could be solved on the Memberful end if they used this structure for links they create to Discourse: [Create a DiscourseConnect login link](https://meta.discourse.org/t/create-a-discourseconnect-login-link/109290). I don’t have a Memberful account, so I’m unsure what gets displayed on their end.

I’m not sure what could be done to improve the second scenario. The way it’s expected to work seems straightforward to me. Clicking the “Log In” link on Discourse should automatically log any users who are logged into your Memberful site to Discourse. If the user who clicks the button _isn’t_ logged into Memberful, they should be taken through the Memberful login flow, then automatically redirected back to Discourse. It would be good to know if this isn’t working as expected, or if it is, but users are still having trouble figuring out how to log in.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [September 12, 2023, 9:04pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/28 "2023-09-12T21:04:02Z")

</div>

Thanks @simon!

Here’s the new member flow right now:

 ![Screenshot 2023-09-12 at 4.53.02 PM](https://global.discourse-cdn.com/meta/original/4X/1/d/0/1d03216963a3f45978afcc0ceb65b9ac020480a8.png)

 ![Screenshot 2023-09-12 at 4.53.08 PM](https://global.discourse-cdn.com/meta/original/4X/8/1/6/816c6638fa2c651fb4f4df3a5635ca6775a46152.png)

 ![Screenshot 2023-09-12 at 4.53.22 PM](https://global.discourse-cdn.com/meta/original/4X/4/b/1/4b1dfc1ce90f86631ba4f4d4106290a0e028ab9c.png)

 ![Screenshot 2023-09-12 at 4.53.25 PM](https://global.discourse-cdn.com/meta/original/4X/2/2/5/2256c2e343a8c5620503be4ea4da52e9dba7f328.png)

 ![Screenshot 2023-09-12 at 4.55.14 PM](https://global.discourse-cdn.com/meta/original/4X/d/6/4/d640b3965dd713f87ad2de6f45226175d48c0b5d.png)

 ![Screenshot 2023-09-12 at 4.56.53 PM](https://global.discourse-cdn.com/meta/original/4X/e/4/7/e478a7811a3c499a9700d7595ba5a0e80c3f98ce.png)

 ![Screenshot 2023-09-12 at 4.57.43 PM](https://global.discourse-cdn.com/meta/original/4X/5/a/4/5a4f73ae84728d811d26475bfbec138b0bf7e131.png)

 ![Screenshot 2023-09-12 at 4.58.18 PM](https://global.discourse-cdn.com/meta/original/4X/5/1/e/51e9f25a091079d046cf800d0ddde9b23b7c14d7.png)

Ways this could be much better:

1. Create a new account, get redirected to the community, and you’re logged in.

2. If the email needs to be verified: When you get the new member email, just click on the blue “Sign In” button, and be automatically logged into the community. (Don’t go to Memberful at all).

On the potential assumption/guess that #2 is the required option, is there anything Memberful can do to configure the Sign In link in that email so that the new member is sent to the community and is logged in?

I appreciate all assistance.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [September 12, 2023, 9:44pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/29 "2023-09-12T21:44:30Z")

</div>

> [@outofthebox](#):
>
> is there anything Memberful can do to configure the Sign In link in that email so that the new member is sent to the community and is logged in?

Yes, there are a couple of places that Memberful could use a login link in the form that’s shown in this topic: [Create a DiscourseConnect login link](https://meta.discourse.org/t/create-a-discourseconnect-login-link/109290). I’ve messaged you about this because I ran into a couple of issues when going through the signup process on your site.

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [September 13, 2023, 5:55pm UTC](https://meta.discourse.org/t/discourse-memberful-integration/60798/30 "2023-09-13T17:55:54Z")

</div>

Hi,

Thanks to @simon’s help, and the friendly team at Memberful, this is solved.

The key insight was to use this link: _https:/[Discourse Community Site]/session/sso]_

I placed that link in both the settings for the Free Registration plan and in the global redirect for sign-ins:

> **[Configure redirect settings - Memberful](https://memberful.com/docs/configuration/other-settings/configure-redirect-settings)**
>
> Configure Memberful redirect settings so actions like signing in or completing a purchase send members to a specific page on your site or member website.

I also added this link by customizing their " New free member created" email.

Using this link makes for a seamless login experience with Discourse, and keeps new members from being confused by either:

1. Being redirected to the Discourse site but not being logged in, or
2. Being directed to their Memberful profile page, but not knowing how to get to the Discourse site.

[Previous page](https://meta.discourse.org/t/discourse-memberful-integration/60798.md?page=1)
