Install the Simple Build Tool, version 0.11
The project builds and runs against the oauth2 branch of Unfiltered. Currently this is not available from a repo, so you need to build and install it locally first.
git clone git://github.com/unfiltered/unfiltered.git
git checkout oauth2
- Edit project/build.scala and change scalaVersion to "2.9.1"
- Clear the Ivy cache:
rm -Rf ~/.ivy2/cache
sbt(to start the sbt command shell)
- From the sbt command line, run
Client and Server
These can be run from within
sbt. Alternatively, from the command line:
sbt "project server" run
sbt "project client" run
The test server authentication accepts any username and password, but the only valid user (defined in TestUsers) has the id "john", so the openid authentication should fail for other user names.
: Alternatively, you can run multiple sbt commands from the standard command line, e.g.
sbt ";compile ;publish-local"