9.3. Setting up eXo Platform

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

It is assumed that your eXo Platform instance will be executed on the host: server.local.network.com (remember to set up your host, for example, by adding it to /etc/hosts on Linux), so you will need to:

  1. Change the property exo.base.url to the value of your host. See Server base URL for details.

    # OAuth
    exo.base.url=http://server.local.network.com:8080
  2. Make configurations for the social networks that you want in exo.properties.

    ## Facebook
    exo.oauth.facebook.enabled=true
    exo.oauth.facebook.clientId=Facebook_App_Id
    exo.oauth.facebook.clientSecret=Facebook_App_Secret
    
    ## Twitter
    exo.oauth.twitter.enabled=true
    exo.oauth.twitter.clientId=Twitter_Consumer_Key
    exo.oauth.twitter.clientSecret=Twitter_Consumer_Secret
    
    ## LinkedIn
    exo.oauth.linkedin.enabled=true
    exo.oauth.linkedin.apiKey=LinkedIn_Client_Id
    exo.oauth.linkedin.apiSecret=LinkedIn_Client_Secret
    
    ## Google Plus
    exo.oauth.google.enabled=true
    exo.oauth.google.clientId=GooglePlus_Client_Id
    exo.oauth.google.clientSecret=GooglePlus_Client_Secret

    In which:

    • exo.oauth.{OAuth_Provider}.enabled - Enables the integration with the social network. Users will now be able to log in and register with their social network accounts.

    • exo.oauth.{OAuth_Provider}.clientId - Client ID of your application.

    • exo.oauth.{OAuth_Provider}.clientSecret - Client Secret of your application.

  3. Restart eXo Platform server. Your users should be able to register or log in with their social network accounts.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus