This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuring Facebook
Facebook can be used as a federated authenticator in the Identity Server. Do the following to configure the Identity Server to authenticate users using their Facebook credentials. See Login to the Identity Server using Facebook Credentials for more information on how this works.
To navigate to the federated authenticators configuration section, do the following.
- Sign in. Enter your username and password to log on to the Management Console.
- Navigate to the Main menu to access the Identity menu. Click Add under Identity Providers.
For more information, see Configuring an Identity Provider. Fill in the details in the Basic Information section.
You can configure the following federated authenticators by expanding the Federated Authenticators section followed by the required subsections.
- Expand the Facebook Configuration form.
Fill in the following fields where relevant.
Field Description Sample value Enable Facebook Authentication Selecting this option enables Facebook to be used as an authenticator for users provisioned to the Identity Server. Selected Default Selecting the Default checkbox signifies that the Facebook credentials are the main/default form of authentication. This removes the selection made for any other Default checkboxes for other authenticators. Selected Client Id This is the username from the Facebook app. These are obtained from the Facebook App you create using your Facebook Developer account. See Logging in to the Identity Server using Facebook Credentials for more information on how to do this. 1421263438188909 Client Secret This is the password from the Facebook app. Click the Show button to view the value you enter. 12ffb4dfb2fed67a00846b42126991f8 Scope You can restrict the claims sent to the Identity Server. This means you can restrict the claims by specifying them in the scope. email User Information Fields You can send a comma separated list of claims that you need to receive. id,email,name
- Identity Federation is part of the process of configuring an identity provider. For more information on how to configure an identity provider, see Configuring an Identity Provider.
- See the following topics for samples of configuring Facebook for federated authentication: