[toc]
This procedure enables you to use use your Facebook credentials to sign into your site.
You must have SSL set up to use Facebook authentication for Telligent Community Server.
Facebook OAuth and Facebook Connect require having a Facebook account. Obtaining one is outside of the scope of this article.
Register a new application on Facebook
- Log into Facebook.
- Navigate to http://developers.facebook.com/setup/ to set up a new Facebook application.
- Click Create a new app. The Create new app ID dialog appears.
- Fill in the desired App name in the Display name field.
- Optionally, fill in a namespace in the Namespace field.
- Select a Category from the drop-down list. This is required.
- Click Create App ID.
- Enter the security check code and click Submit.
- If the account verification dialog appears, provide verification information such as your mobile phone number and confirm receipt of the security code.
- Enter any additional security check information, such as an additional security check code.
- Click Submit. The dashboard window appears.
- Click Settings.
- Fill in the following fields:
- App Domains (required) - Site domain (http://www.yourdomain.com).
- Contact email (required) - An email address for Facebook to user for contact
- (Optional) Click Add platform and choose any platform you would like to add.
- Copy and save the App ID and App Secret values to another location.
- Click Save changes. Once registered, Facebook will provide you with security details.
Add a secure port in IIS
- Open IIS.
- Click Bindings (Sites > [site name] > Actions pane > Edit Site pane > Bindings). The Site bindings window appears.
- Click Add. The Add site binding window appears.
- Select https from the Type drop-down.
- If you are using the IP address where IIS is located, you can leave the IP address field blank; it will default to the current address. If you need to specify a different IP, type that into the IP address field.
- Specify 443 in the Port field.
- Click OK.
Configure the Community Server login
- Log into Community Server as an administrator.
- Optional: If you want to give users the opportunity to add an ID such as their LinkedIn profile, you can add the fields in the widget at this time. Note that if you select the Required check box, they will be required to furnish this information. To set up login, required fields, and reCaptcha:
- Collect user information upon registration by adding profile fields:
- Navigate to the user profile page (user avatar > Profile).
- Click Modify Site Theme.
- Click Pages.
- Search for and select User Registration.
- Click Edit content.
- On the User - Login and Create widget, click Configure.
- Check the Mode drop-down list and select Create if this is not already selected.
- If desired, enable ReCaptcha by clicking the Enable Captcha check box.
- Move the fields you want to request from the left column to the right column by clicking >.
- If you want to require this/these fields for sign-in, select the Required check box on each field.
- Click Save in the configuration dialog.
- In the Edit Page panel, click Save.
- Click Page. You receive a message that the page save was successful.
- Add a Terms of Service requirement:
- Navigate to Control Panel > System administration > Site administration > Site configuration > Setup > General site settings.
- In the Terms of Service field, enter a URL for your Terms of Service agreement. (Recommendation: To create a TOS specifically for this community, create a content page [Control Panel Dashboard > System administration > Site administration > Site content > Content pages]. Copy the URL to that page and enter it in the Terms of Service field in General Site Settings.)
- Click Save.
- Collect user information upon registration by adding profile fields:
Configure the Community Server Facebook Oauth plugin
- Mouse over Management.
- Click Administration.
- Navigate to Authentication > External authentication.
- Click Facebook OAuth Client.
- Click the Enabled check box.
- In the Facebook OAuth Client panel, paste the following settings into the appropriate text fields:
- Consumer Key: The App ID copied from Facebook.
- Consumer Secret: The App Secret copied from Facebook.
- Authorize Base URL (should already be set): https://graph.facebook.com/oauth/authorize
- Access Token URL (should already be set): https://graph.facebook.com/oauth/access_token
- Click Save in the configuration panel.
- Log out. If you click Sign in again, Facebook will be a sign-in option.
Sign into Community Server with Facebook credentials
You can use your Facebook credentials to sign into your Community Server site.
- In the sign-in screen, click Facebook.
- Click Connect with Facebook.
- Enter your Facebook email ID in the screen.
- Click Continue. The Community Server welcome screen appears.