Do the following:
Facebook - and some other providers - won't redirect back to localhost
. While in DEV mode you can do one of the following to use them:
/etc/hosts
file that points to localhost.SecureSocial keeps track of authenticated sessions using an instance of AuthenticatorStore
. The default
implementation - DefaultAuthenticationStore
- uses the Play cache to store the information. Since the cache gets cleared on each compilation sessions expire.
If you want to keep logged in you can:
ehcache.xml
file to persist in the filesystem (diskPersistent="true"
).There is a property that specifies the length of the genered id values used to track sessions. Since Memcached has a limit of 250 bytes for keys you need to set this value to 250 minus the length of your memcached namespace length.
Yes, SecureSocial is an open source project and contributions are welcome. There are certain rules though:
Before spending hours doing any work please let me know what you are planning so we can validate the approach is right and aligns well with SecureSocial. Also, it could be that me or someone else is doing something similar and we can avoid duplicating efforts this way.
Your code must be documented and if needed the User Guide must be updated as well or the contribution will not be accepted.
SecureSocial 2 is written in Scala and provides Java APIs too. This means you MUST code in Scala and add the necessary Java APIs if that functionality needs to be exposed to a developer using the module. If you send a contribution in Java only it will not be accepted. Even if you insist :)