I'm using the Play! framework v2.3 (Java) and I want to add some user authentication to my web app, ie username/password for each user and a registration process.
I found some information on the docs on how to do this for v2.1 and v2.2: http://www.playframework.com/documentation/2.1.0/JavaGuide4 https://www.playframework.com/documentation/2.2.x/JavaGuide4
But I can't find any updated info on v2.3. I've already tried looking at the API for play.mvc.Security.Authenticated but it doesn't help (http://www.playframework.com/documentation/2.3.x/api/java/play/mvc/Security.Authenticated.html).
Anyone know how to do this properly?
Play! Authenticate is a brand-new choice for Java-based authentication. within Play! Framework 2.x applications, supporting common OAuth2 providers. such as Facebook or Google in parallel with your own user account service or an out-of-the-box username/password provider.
The Google Play “Authentication is required. You need to sign into your Google Account” error is a common problem on Android devices. You may encounter it as well in Nox App Player. You could fix this Google Play authentication error following the below steps. 1. Clear data from these five apps: 1) Google Play Store. 2) Google Play Services.
Authenticate is a brand-new choice for Java-based authentication within Play! Framework 2.x applications, supporting common OAuth2 providers such as Facebook or Google in parallel with your own user account service or an out-of-the-box username/password provider.
Open the Google Play Store app . Click Menu Settings. Click Authentication preferences. Choose a setting. Follow the on-screen instructions. This will only work if you're using the Google Play Store app on your Chromebook. Find out more about how to use the Google Play Store on Chromebooks .
There are a number of authentication libraries that already exist which cover many use cases. It'd be best to use something that's well established in the community.
Secure Social - This seems to be the most popular, with lots of documentation. (For both java and scala)
Deadbolt 2 - There are many implementation examples linked from that git repo. It seems a little more geared for java.
Play2 Auth - This is for scala only, but it is well documented and very flexible. (I personally use Play2 Auth)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With