Registering Application in Facebook

First of all, you need to have account on Facebook.

Quite comprehensive Facebook Application Developing tutorial can be found at this  official link

But to deploy Facebook Login Servlet you only have point your browser  here, and then:

  • Create new Application, chose appropriate name for it.
  • Specify App Domain (without specifying port) - which will be domain name or IP address of machine on which IdP is deployed.
  • In section Select how your app integrates with Facebook->Website->Site URL place name.of.your.domain:PORT/idp-facebook/AuthnEngine .
  • Write down your APP_ID and APP_SECRET and place them in fb_psnc.xml configuration file.