Search Results :

×

Configure Memberful Single Sign-On (SSO) into WordPress using OAuth

The Memberful SSO for WordPress uses the OAuth Authorization flow to give users secure and smooth access to WordPress sites. By integrating our OAuth Single Sign-On (SSO) plugin for WordPress, Memberful serves as an OpenID Connect and OAuth provider, offering a seamless, secure login experience for WordPress websites. Integrating Memberful OAuth for WordPress makes logging in easier and more secure by using Single Sign On (SSO). This setup lets team members access WordPress with a single click, using their Memberful credentials—no more juggling multiple passwords or resetting them. Beyond simple Memberful SSO, this plugin includes advanced features like mapping user profile attributes, assigning roles, and granting site access based on organization email domains. For a complete rundown of these features, take a look at the OAuth Single Sign-On (SSO) plugin for WordPress. Just follow the steps below to set up Memberful Single Sign On with WordPress.


  • Log into your WordPress site with your admin account.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a OAuth Single Sign-On (SSO) plugin for WordPress and click Install Now when you find it.
  • After installation, click Activate to turn on the plugin.

  • Go to your Memberful Membership site at https://[yourdomain].memberful.com/admin.
  • Navigate to Settings > Custom Applications, then click on Add a new Custom Application.
  • Memberful SSO for WordPress - go to custom applications
  • On the next page, enter an Application name and check the box next to Include OAuth tokens with this application.
  • Memberful SSO for WordPress - go to custom applications
  • Under Application Type, select Server-side Application.
  • In the OAuth Redirect URI section, enter the Callback URL provided by the miniOrange OAuth Single Sign-On plugin (you’ll find it under the Configure OAuth tab).
  • Click Create Custom Application to save your settings.
  • Memberful SSO for WordPress - go to custom applications
  • After creating the application, you’ll see the Client ID (Identifier) and Client Secret in the OAuth section. Copy and save these details, as you’ll need them to configure the OAuth Single Sign-On plugin.
  • Memberful SSO for WordPress - go to custom applications

    In conclusion, by successfully configuring Memberful as an OAuth Provider, you have enabled Memberful SSO Login for WordPress and authorization for your end users in WordPress.


  • Go to the Configure OAuth tab and click on Add New Application to add a new client application to your website.
  • Memberful SSO for WordPress - Add new application
  • Select your application from the list of OAuth/OpenID Connect providers. For this example, choose Custom OAuth 2.0 App.
  • Memberful SSO for WordPress - Select Application
  • Once you pick the provider, copy the Callback URL—you’ll need to add this to the SSO settings in your OAuth provider.
  • Enter the Client Credentials like Client ID & Client Secret from your Memberful app. Check the table below for Scopes & Endpoints.
  • Authorize Endpoint: https://ACCOUNT-URL.memberful.com/oauth
    Access Token Endpoint: https://ACCOUNT-URL.memberful.com/oauth/token
    Get User Info Endpoint: https://ACCOUNT-URL.memberful.com/api/graphql/member?query={ currentMember { address { city street postalCode country } creditCard { expMonth expYear } downloads { id name } email fullName id phoneNumber subscriptions { active expiresAt plan { id name } } unrestrictedAccess } }
  • Click Next.
  • Memberful SSO for WordPress - Add App name, TenantID
  • Review all the details on the summary page, then click Finish to save your setup and test the Memberful SSO connection.
  • Memberful SSO for WordPress - Finish configuration

    In conclusion, by successfully configuring WordPress as OAuth Client, you've established effortless Memberful OAuth Single Sign-On (SSO) and authorization for your users accessing WordPress.

  • Go to the Configure OAuth tab, then search for your application name. Select Custom OAuth 2.0 App to add it to your website.
  • Memberful SSO for WordPress - Add new application
  • Enter the App Name, Client ID, Client Secret, and Tenant ID from your Memberful application. For Scopes & Endpoints, use the details in the table below.
  • Authorize Endpoint: https://ACCOUNT-URL.memberful.com/oauth
    Access Token Endpoint: https://ACCOUNT-URL.memberful.com/oauth/token
    Get User Info Endpoint: https://ACCOUNT-URL.memberful.com/api/graphql/member?query={ currentMember { address { city street postalCode country } creditCard { expMonth expYear } downloads { id name } email fullName id phoneNumber subscriptions { active expiresAt plan { id name } } unrestrictedAccess } }
    Memberful SSO for WordPress - Add App name, TenantID
  • Choose the Grant Type that fits your setup from the list.
  • Click Save Settings to save your configuration.
  • Memberful SSO for WordPress - Add Grant Type

    In conclusion , by successfully configuring WordPress as OAuth Client, you have enabled seamless Memberful SSO for WordPress and authorization for your end users into WordPress.

  • Setting up user attribute mapping is important to ensure users can log in to WordPress successfully. Here’s how to configure user profile attributes in WordPress:
  • Finding user attributes:

    • Go to the Configure OAuth tab in your plugin settings.
    • Scroll down and click on Test Configuration.
    • Memberful SSO for WordPress - OAuth Test Configuration
    • You’ll see a table showing all the values that your OAuth provider sends to WordPress. If you don’t see values for First Name, Last Name, Email, or Username, you may need to adjust your OAuth provider settings to include these details.
    • Once you see all the needed values in the Test Configuration section, go to the Attribute / Role Mapping tab. You’ll find the available attributes listed in the Username dropdown.
    • Memberful SSO for WordPress - Attribute Mapping

    • With this setup, your user attributes should now be correctly mapped for WordPress login.

  • Go to WordPress Dashboard > Appearance > Widgets.
  • Find the miniOrange OAuth widget and drag it to your preferred area. Save the changes.
  •  Memberful Single Sign-on (SSO) - create-newclient login button setting
  • Go to WordPress Dashboard > Appearance > Widgets.
  • Find the miniOrange OAuth widget and place it where you like, then save.
  • Memberful Single Sign-on (SSO) - create-newclient login button setting
  • Open your WordPress page and you can see the Memberful SSO login button there. You can test the Azure AD Single Sign-On (SSO) - Memberful OAuth now.
  • Ensure the "Show on login page" option is enabled for your application (see the image below for reference).
  • Memberful Single Sign-on (SSO) - Memberful OAuth - create-newclient login button setting
  • Now, go to your WordPress Login page. (Eg. https://< your-wordpress-domain >/wp-login.php)
  • You’ll see the Memberful SSO login button there. Click it to test the Memberful Single Sign-On (SSO) - Memberful OAuth.
  • Memberful Single Sign-on (SSO) - create-newclient login button setting



ADFS_sso ×
Hello there!

Need Help? We are right here!

support