To use MembershipWorks with Circle.so you will need to be on a Circle plan that offers Custom Single Sign-On. Please contact Circle for information on what is required to enable Custom Single Sign-On for your Circle plan.
To obtain the keys required you must be signed in as the primary admin to MembershipWorks.
- From Circle.so go to Community Settings > Single Sign-On
- Enable "Allow members to sign up via a custom URL" and "Allow members to sign up via a custom URL"
- Take note of the Callback URL just under OAuth Provider
- In MembershipWorks go to Organization Settings > Apps
- Click on Add App
- Make sure the Type is set to "OAuth2 Single Sign On"
- Give a name to the app - eg. "Circle.so"
- Enter the Callback URL from the Circle.so in step 3
- Click Create
- Take note of the Client ID, Client Secret, Token Endpoint and User Info Endpoint
- In Circle.so enter the name of the OAuth Provider - the name field is what will display under the login button. For example, if you input the name "MembershipWorks", the login button will say "Continue with MembershipWorks."
- Enter the Client ID, Client Secret (Secret Key), Token Endpoint (Token Fetch URL), and User Info Endpoint (User Info API URL) from MembershipWorks noted down in step 10.
- Under the Authorization URL enter the URL of your website that has the MembershipWorks "Member Sign In and Manage Account" snippet/shortcode (ie. the page on your website where members login to manage their account).
- The response paths are:
User ID -> account_id
User Email -> email
User Name -> name - Click Save Changes
- Toggle "Enable SSO" to on