Facebook

The Facebook Authentication Provider enables the Cloud CMS Application Server to authenticate, validate tokens and load user profile information against Facebook.

For more information on Authentication within the App Server, see App Server Authentication / SSO.

Facebook API Keys

To use this provider, you will first need to set up a Developers Account within Facebook and create an application therein. Doing so will give you a set of API tokens:

  • appId - the Facebook application ID token
  • appSecret - the Facebook application Secret token

Configuration

Here are all of the properties that may be configured:

"auth": {
    "providers": {
        "myProvider": {
            "type": "facebook",
            "config": {
                "appId": "{Facebook App ID}",
                "appSecret": "{Facebook App Secret}",
            }
        }
    }
}

With the following properties:

  • appId - provided by Facebook
  • appSecret - provided by Facebook