Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
It doesn't look like the Ratpack documentation currently provides any guidance on mechanisms to integrate authentication. One of the approaches I've been working with is is a Ratpack module that performs authentication as an OpenID Relying Party via openid4java. If there's interest I'd be happy to either contribute this module to the main project, or publish it as a standalone library.
I'm also considering evaluating an Apache Shiro integration at some point.
UPDATE: while this ticket was originally for OpenID integration, the direction that is being taken is now to integration pac4j, which will support both OpenID and other similar approaches to authentication.
I've gotten to the point where I've got some simple Geb tests working both with FireFox locally and SauceLabs remotely. The main question I have remaining on that is how to handle the credentials needed. I'm currently testing against Google's OpenID provider, using a Google account I made just for this purpose. It looks like the project is using both Travis CI and Drone for CI purposes... potentially for different reasons? For both, I think we could probably make the credentials available to the test via environment variables (encrypted and stored in .travis.yml for Travis, stored in the job config for Drone). Thoughts?