JBoss.orgCommunity Documentation
If you are using OpenSocial, you need to configure the OAuth authentication. With the case of eXo Platform, you need to edit the file: gatein/conf/portal/portal/configuration.xml and add the following configuration:
<component>
<key>org.exoplatform.social.opensocial.oauth.ServiceProviderStore</key>
<type>org.exoplatform.social.opensocial.oauth.ServiceProviderStore</type>
<init-params>
<properties-param>
<name>grails-book-flow</name>
<description>consumer key and secret for sample oauth provider. </description>
<property name="consumerKey" value="YOUR_KEY_HERE"/>
<property name="sharedSecret" value="YOUR_SECRET_KEY_HERE"/>
</properties-param>
</init-params>
</component>
consumerKey and sharedSecret are keys that need to be shared with the application which is doing the request.