Add support for Play 2.0 #38

Closed
slavus opened this Issue Mar 16, 2012 · 36 comments

Projects

None yet

9 participants

@slavus
slavus commented Mar 16, 2012

Please add support for Play 2.0

Owner
jaliss commented Mar 16, 2012

There is going to be a version for 2.0. I don't have an ETA yet but will keep you posted.

gostaj commented Apr 4, 2012

Looking forward to seeing this released!

Contributor
joscha commented Apr 24, 2012

Is there any news on this topic?

Owner
jaliss commented Apr 24, 2012

I'm working on it. Will try to send an update next monday.

Contributor
joscha commented Apr 24, 2012

Thats great! If you need help in dev, testing or otherwise related to this, feel free to ping me any time.

Owner
jaliss commented Apr 24, 2012

Great thanks.

langley commented May 6, 2012

+1 for this port! I'm just coming to Play! and having this module would be a big win!
Thank you so much for your efforts developing it!

Contributor
joscha commented May 7, 2012

Is there any news on this so far?

Owner
jaliss commented May 10, 2012

Hi All,

Just a quick update. I'm working on this. I was planning on releasing something this week but some unexpected problems came up and could not allocate time for SecureSocial. Will try to release some basic functionality by the end of next week.

Having the basic code there will allow others to contribute as well.
Will keep you guys posted.

Contributor

Maybe you could publish your work in progress to a 2.0 branch so others can help?

kwiat commented May 16, 2012

Hi folks, any updates on the 2.0/2.1 support? Looking forward!

Owner
jaliss commented May 16, 2012

I'm working to release some basic functionality by the end of this week.

Owner
jaliss commented May 20, 2012

Quick update: The IdentiityProvider class and all the required classes to load and show providers on the login page are there. The login page renders the available providers (only OAuth for now) and got Twitter authentication working. Need to add custom actions to restrict access in the controllers and the UserService. I also need to write Java wrappers, the module is built in Scala now.

Contributor
joscha commented May 20, 2012

Great - is there anything to try out, yet?

Owner
jaliss commented May 20, 2012

Not yet. I need to iron out some details and figure out how to implement some things before I release the code. I know you guys have been waiting for a while, but bear with me a bit more.

Any update on this?
I can have a look at the preview if things still need to be done. Also I am able to implement some functionality if necessary.

Contributor

I'm also pro development in the open, don't be afraid to show us what you got ;-) User feedback should help you get to a usable version sooner

Contributor
joscha commented May 29, 2012

I would love to get my hands on a preview as well - have been waiting for this for over two months now and the release date of my current project is close...

Owner
jaliss commented May 30, 2012

@francisdb I'm not afraid to show what I got so far :-) I need to define how to implement a few more things to set things in a reasonable direction.

@joscha I'm sorry for the delay. I started working on this about a month ago. I want to make a release ASAP too.

Quick update:

  • OAuth1 and OAuth2 base providers are there
  • 3 Providers working: Twitter, Facebook and Google. This will be included in the first release, and others will be added shortly since it's easy to port the old ones now that the base classes are available.
  • Need to implement UserService (or its equivalent)
  • Need to add custom actions and annotations to protect the actions in controllers.

Glad to hear so many are willing to help. How are your Scala skills going? :)
The new version is being written in Scala from scratch.

kwiat commented May 30, 2012

Sounds great! How long might it take for you to finish on open tasks you mentioned - more like a few days or a few weeks? Thanks in advance! Regarding Scala, just started, but will hopefully get more into it soon.

Contributor

I got a project running on Scala but I'm still a bit unhappy with db access and a lot of times I'm trying to find out what the scala way of doing things is...

I am writing Scala full-time for a couple of month now, before that 5 years in part time. So I know it reasonably well, but I'm keeping on learning :)

BTW: I can get forward already with the things that you implemented. UserService is less important for me.

Owner
jaliss commented May 30, 2012

@kwiat It's more like a few days. I want to release something soon. I found Scala for the Impatient to be a great book by the way.

@francisdb I think getting used to Scala takes time, but it's worth it :-)

@rintcius how do you use the current version now? you don't store any user information?

@jaliss I will store user info in the end, but I can move forward already with the things that you have finished implementing (the OAuth part). So I mean to say that securesocial is already in a usable state for some people, even when parts are not finished yet.

Owner
jaliss commented May 30, 2012

@rintcius the providers are there, to be usable I need to add the actions (for Scala) and annotations for the Java controllers that will allow you to restrict access.

@jaliss I meant "usable" from a developer's perspective, in the sense that I can mock out things that are not there yet. But I do see that that may be more work for you, so no problem.. I can wait for a couple of days :)

Owner
jaliss commented Jun 5, 2012

Looks like I'll be releasing the first version today. Stay tuned.

Contributor

great!

Contributor
joscha commented Jun 5, 2012

awesome!

kwiat commented Jun 5, 2012

Hi jaliss, sounds great. Much success for the last lines of code!
Are we having a release party afterwards? ;)

Owner
jaliss commented Jun 5, 2012

@kwiat haha, thanks! :)

Owner
jaliss commented Jun 6, 2012

Hi All,

Just pushed an initial release. The master branch has the code for SecureSocial 2 now and the old code can be found on the 1.x branch.

There are no docs yet but I provided sample apps in Java and Scala.
Let me know how it goes.

Jorge

Look very nice Jorge. I tested the Facebook integration in Java and it works good on my Heroku account.

How can I simulate a login running locally though?

Bruce

Contributor

I use test.mydomain.com and add an entry to my localhost in my hosts file

http://stackoverflow.com/questions/2459728/how-to-test-facebook-connect-locally

kwiat commented Jun 9, 2012

I've posted my opinion over at Google Groups (currently held for review here), hoping that Zenexity and others within the Play community might join Jorge in extending the recently released SecureSocial preview.

@jaliss jaliss closed this Sep 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment