I am about to pick an authentication for Play 2 Java application. At the moment it would be simple username/pw and Facebook, backed with MongoDB.
It looks like there are two options: securesocial and play-authenticate
How do these compare? I can see both have support for common providers and based on a quick look play-authenticate seems to be more complicated.
play-authenticate is ‘more advanced’ it uses
securesocial'sbase idea + additionally incorporates alsodeadbolt-2inside to give you full authenticate-authorization stack at once.You wrote ‘at the moment it would be simple…‘ however you should think about this topic rather like ‘finally it will be simple/advanced, so I need to choose correct solution at the beginning‘. And I’d suggest the PA.
See also other answer