Integrating Access Manager with Facebook

IMPORTANT:The information in the following sections may get changed and may not match the Social Networking Providers’ interface when you create an application. The following information is only for reference purpose and can vary based on the provider configuration page.

Perform the following steps to generate the API Key and API Secret with Facebook:

  1. Create a Facebook application for community.

    1. Log in to Facebook and access the Application page.

    2. Click Add a New App.

    3. Select the platform website.

    4. Click Skip and Create App ID.

    5. Specify the following details on the Create a New App ID screen:

      • Display Name: Specify a name for the web application.

      • Contact Email: Specify the email address.

      • Category: Select a category from the list.

    6. Click Create App ID.

    7. Solve the Captcha and click Submit.

    8. Click Facebook Login > Get Started.

      • Valid OAuth redirect URIs: Specify the identity provider redirect URI. For example: https://<IDP URL>:<Port Number>/nidp/jsp/socialauth_return.jsp.

      • Deauthorise Callback URL: Specify the identity provider URI. For example: https://<IDP URL>:<Port Number>/nidp/app.

    9. Click Save Changes.

    10. Navigate to the Dashboard page.

    11. Click Show to display App Secret.

    12. Copy the values of App ID and App Secret. You will need these values when you configure Facebook with Access Manager.

    13. Click Settings. In the Basic tab, review the details.

    14. Click Advanced and review the details.

      NOTE:Ensure that Require App Secret is not selected.

    15. Click App Review, enable Make DemoApp public, then select Confirm to create this application and all its live features available. By default, NO is selected.

    16. Navigate to the Dashboard page.

      The application status changes to Green and is online.

  2. Configure Facebook application Configuration Setting in Access Manager. Use App ID and App Secret to configure Facebook as social authentication provider.