An Omniauth Strategy for Rdio's OAuth2 API/ Beta JS API
This gem is mostly untested. Use at your own risk.
Add to your Gemfile
:
gem 'omniauth-rdio-oauth2'
Then bundle install
.
Here's an example for adding the middleware to a Rails app in config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :rdio_oauth2, ENV["RDIO_CLIENT_ID"], ENV["RDIO_CLIENT_SECRET"]
end