Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

This branch is 5 commits ahead, 58 commits behind Shopify:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
spec
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
omniauth-boulderproblems-oauth2.gemspec

README.md

OmniAuth Boulder Problems

Boulder Problems OAuth2 Strategy for OmniAuth 1.0.

NOTE: Probably not useful unless you plan on using boulderproblems.com as an oAuth authentication provider!

Installing

Add to your Gemfile:

gem 'omniauth-boulderproblems-oauth2'

Then bundle install.

Usage

OmniAuth::Strategies::Boulderproblems is simply a Rack middleware. Read the OmniAuth 1.0 docs for detailed instructions: https://github.com/intridea/omniauth.

Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :boulderproblems, ENV['BOULDERPROBLEMS_API_KEY'], ENV['BOULDERPROBLEMS_SHARED_SECRET']
end
Something went wrong with that request. Please try again.