Skip to content
This repository

simple sinatra extension to authenticate users against github oauth

This branch is 1 commit ahead and 108 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


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.

There's a slightly more deployment friendly version href.

The Extension in Action

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