Play 2 Framework and Secure Social Example Setup

Posted by Brian Porter on January 02, 2013

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:

http://securesocial.ws/

 

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.

secure_social

  1. You also need to add the dependency for:

“com.typesafe” %% “play-plugins-mailer” % “2.0.4”

http://securesocial.ws/guide/installation.html

 

  1. 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.

http://securesocial.ws/guide/configuration.html

If you made it this far, you may as well follow me on LinkedIn: Follow Brian Porter