When packaging an application as an EAR file, the Facebook authenticator does not seem to be called. I was able to successfully deploy the picketlink-authentication-facebook quick start from jboss-picketlink-quickstarts, which deploys a social login sample as a WAR file. This worked as expected.
However, when this app is repackaged as an EAR – with the PicketLink and PicketLink Social libraries contained within the EAR, rather than WEB-INF/lib – the code fails. Clicking the sample button that kicks off the Facebook authentication process does not invoke the FacebookAuthenticator when "identity.login()" is called. Nor do I see the various Facebook components – FacebookConfiguration, FacebookAuthenticator, etc. – being created via the expected @Producer methods