Use friend-oauth2 version 0.1.1.
Includes Google OAuth 2.0 Login, Facebook (server-side authentication), App.net and Github examples using friend-oauth2, an OAuth2 workflow for Friend.
Configure your client id/secret and callback url in the handler code.
(def client-config
{:client-id "<HERE>"
:client-secret "<HERE>"
:callback {:domain "http://<HERE>" :path "/<AND HERE>"}})
At that point, you should be able to start it up using one of the aliases, which will load ring server in headless mode:
lein appdotnet
lein facebook
lein github
lein google
Distributed under the MIT License (http://dd.mit-license.org/)
- Facebook, App.net, Google API examples by ddellacosta
- Github example by kanej