This documentation is for WSO2 Identity Server 5.3.0. View documentation for the latest release.
Configuring Facebook - Identity Server 5.3.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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. 

This section gives you a quick understanding of configuring Facebook as Identity provider so that it acts as a federated authenticator. Check out the Logging in to your Application via Identity Server using Facebook Credentials tutorial to try out an end to end scenario of using Facebook as a federated authenticator.

To navigate to the federated authenticators configuration section, do the following.

  1. Sign in. Enter your username and password to log on to the Management Console
  2. Navigate to the Main menu to access the Identity menu. Click Add under Identity Providers.
    For more information, see Adding and Configuring an Identity Provider.  
  3. 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.

More Federated Authenticators

Some authenticators such as LinkedIn are not provided OOTB with WSO2 Identity Server but can be downloaded from the WSO2 store and plugged in to work with WSO2 IS. For more information on those authenticators and connectors, see the WSO2 Identity Server Connectors documentation.

  1. Expand the Facebook Configuration form.
  2. Fill in the following fields where relevant.

    FieldDescriptionSample value
    Enable Facebook AuthenticationSelecting this option enables Facebook to be used as an authenticator for users provisioned to the Identity Server.Selected
    DefaultSelecting 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 IdThis 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 your Application via Identity Server using Facebook Credentials for more information on how to do this.1421263438188909
    Client SecretThis is the password from the Facebook app. Click the Show button to view the value you enter.12ffb4dfb2fed67a00846b42126991f8
    ScopeYou 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 FieldsYou can send a comma separated list of claims that you need to receive. id,email,name
    Callback URL

    This is the URL to which the browser should be redirected after the authentication is successful. It should have this format: https://(host-name):(port)/acs. Here ACS URL (Assertion Consumer URL) is the endpoint in WSO2 Identity Server which accepts the response sent by facebook.

    https://localhost:9443/commonauth
Related Topics
  • No labels