Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

play framework app authentication, user management

Following the Book App example in play 2 for scala, I now have a basic working app. What I want now is to add some features like

  • User registration

  • User authenetication to access some pages

What is the best way to do it in play for scala? Should I manage it by my own? is there a plugin for that?

like image 866
Lahniep Avatar asked May 05 '14 10:05

Lahniep


1 Answers

Note: I'm the maintainer of Silhouette.

I can suggest you Silhouette which is a core only fork of Secure Social with the intention to built a more customizable, non-blocking and well tested implementation.

For the first stable version there are only two open issues which must be resolved. And these issues are only future requests. There are no API changes planed. The documentation must be improved and a sample application is started. The unit tests are also a good starting point.

If you plan to follow the authentication flow as stated by Secure Social then stick with it. It exists since more than two years and it is well tested by many companies. Otherwise take a look at Silhouette.

like image 60
akkie Avatar answered Nov 14 '22 08:11

akkie