Demo web app of oauthentic the oauth2 library for Clojure authenticating towards GitHub.
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with pelle:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public/css
src/oauthentic_demo
.gitignore
Procfile
README.md
project.clj

README.md

oauthentic-demo

A demo of oauthentic the light weight easy to use OAuth 2 client for Clojure.

This currently logs in via GitHub. It should be easy to customize it to any other OAuth 2 app.

Access Demo

Usage

You need to register an application first at GitHub.

You will receive a client_id and client_secret from GitHub.

Set these in the environment variables GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET.

lein deps
GITHUB_CLIENT_ID=... GITHUB_CLIENT_SECRET=... lein run

Deploying to Heroku

You need to first create an app:

heroku create --stack cedar
heroku config:add GITHUB_CLIENT_ID=... GITHUB_CLIENT_SECRET=...
git push heroku

License

Copyright (C) 2012 Pelle Braendgaard

Distributed under the Eclipse Public License, the same as Clojure.