A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nicck/omniauth-rtm below:

nicck/omniauth-rtm: OmniAuth strategy for Remember The Milk

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

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

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
  }
}
  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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4