0.0
No commit activity in last 3 years
No release in over 3 years
OmniAuth strategy for Remember The Milk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 1.1.0
~> 1.0
 Project Readme

Omniauth RTM Strategy

This gem provides a simple way to authenticate to remember the milk using OmniAuth.

Usage

Add this line to your application's Gemfile:

gem 'omniauth'
gem 'omniauth-rtm'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :rtm, ENV['RTM_KEY'], ENV['RTM_SECRET']
end

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

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :rtm, ENV['RTM_KEY'], ENV['RTM_SECRET']
end

Auth Hash Schema

The following information is provided back to you for this provider:

{
  uid: '12345',
  info: {
    nickname: 'name',
    name: 'Full Name'
  },
  credentials: {
    token: 'thetoken' # can be used to auth to the API
  }
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request