Social Login – Facebook, Twitter, GPlus & LinkedIn

CMNTY Platform supports user registration and platform login using a single sign-on method with their social media accounts, including Facebook, Twitter, LinkedIn, and Google+. You can easily enable social login at:

  1. Go to the Configure page in Admin.
  2. Choose Integrations.
  3. Choose Social Login.

Your community members can either register with one of their social media accounts or connect their CMNTY Platform profile to their Facebook account on their profile page.

Configure Social Media Accounts

  1. Twitter
    The following steps guide you through connecting your CMNTY Platform with Twitter. Steps 1-6 are done within your Twitter account. Steps 7-11 are done in your CMNTY Platform Admin Section:

    1. Go to https://apps.twitter.com. You’ll need a valid Twitter Account in order to proceed.
    2. Choose Create a New App in My Apps.
    3. Give your app a Name and a Description.
    4. Fill in the URL of your platform in the Website and Callback URL fields. Example: https//community.CMNTY.com
    5. Choose Create your Twitter application.
    6. View the Keys and Access Tokens.
    7. Log into your CMNTY Platform.
    8. Go to Social Login page under Integrations in Admin.
    9. Switch the Activate Login for Twitter to ON.
    10. Fill in the API Key and API Secret as created in your Twitter app (Step 6).
    11. After pressing Save, your Twitter registration and login will be activated.
  2. Facebook
    The following steps guide you through connecting your CMNTY Platform with Facebook. Steps 1-8 are done within your Facebook account. Steps 9-12 are done in your CMNTY Platform Admin Section:

    1. Go to https://developers.facebook.com. You’ll need a valid Facebook Account in order to proceed.
    2. Select Create App
    3. Give your app a Display Name, enter a Contact Email and click Create App ID.
    4. Select Facebook Login.
    5. For your platform, select Web.
    6. Fill in your platform as the Site URL. For example: https://community.CMNTY.com.
    7. You can simply continue through the rest of the messages until you see a “Congrats!” message.
    8. In the menu on the left you should now see Facebook Login, click the Settings menu item.
    9. Under Client oAuth settings, make sure Use Strict Mode for Redirect URIs is set to No and that your site URL is in the Valid OAuth redirect URIs box. Then hit save changes.
    10. Your App ID and App Secret (needed in the following steps) are located in Settings > Basic.
    11. Now go to App Review and make your app public by setting it to Yes. Choose a category and confirm.
    12. Login to your CMNTY Platform.
    13. Go to Social Login page under Integrations in Admin.
    14. Switch the Activate Login for Facebook to ON.
    15. Fill in the App ID and App Secret as created in your Facebook app.
    16. After pressing Save, your Facebook Registration and Login will be activated.
  3. LinkedIn
    The following steps guide you through connecting your CMNTY Platform with LinkedIn. Steps 1-10 are done within your LinkedIn account. Steps 11-15 are done in your CMNTY Platform Admin Section:

    1. Go to https://developers.linkedin.com. You’ll need a valid LinkedIn Account in order to proceed.
    2. Create a new application in My Apps.
    3. Click on the Add new application button.
    4. Fill in your Company Name.
    5. Give your app a Name and a Description.
    6. Upload an Application logo.
    7. Select the most relevant Application use.
    8. Fill in the URL of your platform as the Website URL. For example: https://community.CMNTY.com
    9. Fill in your contact details.
    10. Fill in the Authorized Redirect URL. Enter the URL of your community appended with ‘authorize/login_callback/linkedin.’ For example: community.CMNTY.com/authorize/login_callback/linkedin and press Update
    11. Log into your CMNTY Platform.
    12. Go to Social Login page under Integrations in Admin.
    13. Switch the Activate Login for LinkedIn to ON.
    14. Fill in the Client ID and Client Secret as created in your LinkedIn app.
    15. After pressing Save, your LinkedIn registration and login will be activated.
  4. Google+
    The following steps guide you through connecting your CMNTY Platform with Google+. Steps 1-13 are done within your Google+ account. Steps 14-18 are done in your CMNTY Platform Admin Section:

    1. Go to https://console.developers.google.com/project. You’ll need a valid Google+ Account (usually a Gmail account) in order to proceed.
    2. Press the blue Create Project button in the upper left corner. A pop-up will appear with an input field labeled Project Name. Fill it in and press the blue Create button. It may take a few seconds before your project is created.
    3. Optional step: Google may request SMS verification. Verify your phone number if you want to use the Google Cloud Platform.
    4. Select API manager from the side menu on the left.
    5. Find the Google+ API and turn it ON. The Google+ API is part of the Social APIs. To turn it on, click the blue Enable button.
    6. Select Credentials from the side menu on the left.
    7. Press the blue Create credentials button and choose the option 0Auth client ID.
    8. Set your product name by clicking the blue Configure consent screen button.
    9. Fill in the field Product name shown to users and optionally the other fields in the form. Click Save.
    10. Select Web application as your application type.
    11. Enter the URL of your CMNTY Platform appended with “authorize/login_callback/googleplus” to the Authorized Redirect URIs field. For example: “https://yourcommunity.CMNTY.com/authorize/login_callback/googleplus”
    12. Press the blue Create button.
    13. A pop up with your Client ID and Client secret appears.
    14. Log into your CMNTY Platform.
    15. Go to Social Login page under Integrations in Admin.
    16. Switch the Activate Login for Google+ to ON.
    17. Fill in the Client ID and Client Secret as created in your Google+ console.
    18. After pressing Save, your Google+ Registration and Login will be activated.

Login with Social Media

Now members can use social media to register or log in with their social media account.

When members want to log in with their social media account, they will be directed to the registration form. The only thing that is different from the registration form when members log in through the platform is that they don’t have to choose a password anymore.

When members have already registered, and later want to log in with their Facebook account, they need to connect on their profile page. This is also the place where they can disconnect their platform account from their Facebook account if they want to.

Read our blog post about absolute do’s for managing your online community

Or, check out other posts on social settings & SSO.

Was this article helpful?

Related Articles