Current version on clojars:
friend-oauth2 is an oauth2 workflow for Friend.
Installation and Usage
Check out the ring-app handlers in the examples for some other examples of how authentication and authorization routes are set up per Friend's config.
Bug reports and pull requests are most welcome. There are outstanding issues that I could use development help with if you are interested in contributing. If you find a critical bug I will do my best to take care of it quickly, and of course in this case as well a pull request is most welcome.
friend-oauth2 uses Midje (https://github.com/marick/Midje) for testing. You can run all the tests by starting up a repl, running
use 'midje.repl and running
autotest, or run
lein midje :autotest on the command line.
Distributed under the MIT License (http://dd.mit-license.org/)