Omniauth::Drip
This Gem contains the Drip strategy for OmniAuth.
Before You Begin
You should have already installed OmniAuth into your app; if not, read the OmniAuth README to get started.
Using This Strategy
First start by adding this gem to your Gemfile:
gem 'omniauth-drip'
If you need to use the latest HEAD version, you can do so with:
gem 'omniauth-drip', github: 'waitlisted/omniauth-drip'
Next, tell OmniAuth about this provider. For a Rails app, your config/initializers/omniauth.rb
file should look like this:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :drip, "API_KEY", "API_SECRET"
end
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request