Configure OAuth Authentication

  1. Login as escenic on your assembly-host (see the CUE Content Store Installation Guide for an explanation of this term).

  2. Go to /etc/escenic/engine/common/com/escenic/auth/oauth2 and open OAuth2Configuration.properties in an editor.

  3. Make sure the following properties are set exactly as shown:

    serviceEnabled=true
    name=Facebook
    profileUri=https://graph.facebook.com/me?fields=email
    tokenUrl=https://graph.facebook.com/oauth/access_token
    authorizationUrl=https://graph.facebook.com/oauth/authorize
    scope=email
    userNameProperty=email
    expiresProperty=expires
  4. On the Facebook Developers web site, select the second app you created.

  5. Copy the value displayed in the App ID field to the clientId.web property in OAuth2Configuration.properties.

  6. Copy the value displayed in the App secret field to the clientSecret.web property in OAuth2Configuration.properties.

  7. Save and close OAuth2Configuration.properties.