poornerd

my thoughts on programming and other nerdy stuff

Play 2 Framework and Secure Social Example Setup

| 0 comments

If you want to add Authen­ti­ca­tion to a Play! Frame­work 2 project, Secure Social is the way to go.  I had some prob­lems installing it despite the doc­u­men­ta­tion and exam­ples.  Here are my tips based on what I learned:

http://​secure​so​cial​.ws/

 

Secure­So­cial allows you to add an authen­ti­ca­tion UI to your app that works with ser­vices based on OAuth1, OAuth2 and OpenID pro­to­cols. Secure­So­cial pro­vides Scala and Java APIs so you can inte­grate it using your pre­ferred language.

secure_social

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

http://​secure​so​cial​.ws/​g​u​i​d​e​/​i​n​s​t​a​l​l​a​t​i​o​n​.​h​tml

 

2. The Provider Sec­tion is part of the Secure Social — make sure it is a “sub-section” of the “secure­so­cial” section

The con­fig­u­ra­tion for each provider goes within the secure­so­cial sec­tion as well.
http://​secure​so​cial​.ws/​g​u​i​d​e​/​c​o​n​f​i​g​u​r​a​t​i​o​n​.​h​tml

If you have read this far, you may as well fol­low me on Twit­ter:

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