The Play documentation pages for Action Composition outline how to use the basic authentication functionality included with Play or build your own functionality. One possible solution is to use OAuth as documented within the Play website.
For other, full featured solutions, these community plug-ins are popular:
Please be aware that these are community projects - they are not maintained by Lightbend. When it comes to support, we may or may not be able to help, and they are not covered by our SLAs. In case of problems with these plug-ins, we recommend raising issues in the corresponding projects.
ThreadLocal in Play
Developers with Java experience may have previously used ThreadLocal to store/read data isolated to a specific system user or user request. One common example is working with legacy servlet containers when each user request was allocated a single ...
Play Performance Tuning
General performance tuning advice Run experiments to tune your application. It’s not reliable to rely on assumptions. To tune your application you need to be systematic. Make hypotheses, control variables and test, test, test! It can be a good idea ...
How to monitor my Play application? Can I use Cinnamon?
Yes! Starting in version 2.7 Cinnamon added support for monitoring Play 2.6+ applications. For more information, you can check out the announcement here.
Can Lagom errors be handled using Play error handling?
No, the Play error handler is not invoked from Lagom, because the Lagom exception serializer intercepts it first. Any exception thrown by application code will be wrapped in a transport exception, serialized to json and a response is built from it. ...
Why can't I see Cinnamon metrics when running my Play application in development?
A common cause for Cinnamon metrics not being reported in Play development is because Cinnamon does not currently support Play’s development mode*, which is the mode used by the Play server when started using the sbt run command. As a workaround, ...