technologist, entrepreneur, vision­ary, programmer

Play 2 Framework and Secure Social Example Setup


If you want to add Authentication to a Play! Framework 2 project, Secure Social is the way to go.  I had some problems installing it despite the documentation and examples.  Here are my tips based on what I learned:



SecureSocial allows you to add an authentication UI to your app that works with services based on OAuth1, OAuth2 and OpenID protocols. SecureSocial provides Scala and Java APIs so you can integrate it using your preferred language.


1. You also need to add the dependency for:
“com.typesafe” %% “play-plugins-mailer” % “2.0.4”



2. The Provider Section is part of the Secure Social – make sure it is a “sub-section” of the “securesocial” section

The configuration for each provider goes within the securesocial section as well.

If you have read this far, you may as well follow me on Twitter:

Author: poornerd

Tech­nol­o­gist, Entre­pre­neur, Vision­ary, Pro­gram­mer :: Grad­u­ated from USC (Uni­ver­sity of South­ern Cal­i­for­nia) with a degree in Com­puter Sci­ence. After 10+ years of free­lance con­sult­ing and pro­gram­ming, he co-founded Site­Force AG eBusi­ness Solu­tions in 1999 in Munich (München), Ger­many.

Leave a Reply

Required fields are marked *.