Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.578 kb

sinatra_auth_github

A sinatra extension that provides oauth authentication to github. Find out more about enabling your application at github's oauth quickstart.

To test it out on localhost set your callback url to 'http://localhost:9292/auth/github/callback'

There's an example app in spec/app.rb.

The Extension in Action

% gem install bundler
% bundle install
% GH_CLIENT_ID="<from GH>" GH_SECRET="<from GH>" bundle exec rackup
Jump to Line
Something went wrong with that request. Please try again.