OmniAuth Buffer

Work in Progress

This gem is an OmniAuth Strategy for the Buffer API which uses OAuth 2.0

Usage

Add the strategy to your Gemfile alongside OmniAuth:

gem 'omniauth'
gem 'omniauth-buffer'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :buffer, ENV['BUFFER_KEY'], ENV['BUFFER_SECRET']
end

In Rails, you'll want to add to the middleware stack:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :buffer, ENV['BUFFER_KEY'], ENV['BUFFER_SECRET']
end

For additional information, refer to the OmniAuth wiki.