Head to https://developers.facebook.com/apps/ and create a Facebook App. Once this is created, your Facebook App will have an App ID and an App Secret. We’ll use these later on when configuring OpenAM.
Facebook won’t let a redirect to a URL (such as our OpenAM installation) without being aware of the URL. The steps for preparing Facebook as an OAuth provider are as follows:
http://openam.kenning.co.nz:8080/openam/oauth2c/OAuthProxy.jspas shown in the following screenshot:
My OpenAM installation for this ...