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

Runtime

 Project Readme

OmniAuth UnderArmour Strategy

This gem is an OmniAuth 1.0+ Strategy for the UnderArmour API.

Usage

Add the strategy to your Gemfile:

gem 'omniauth-underarmour'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :underarmour, 'consumer_key', 'consumer_secret'
end

In Rails, create a new file under config/initializers called omniauth.rb to plug the strategy into your middleware stack.

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :underarmour, 'consumer_key', 'consumer_secret'
end

For usage with Devise go to Facebook Example at Devise wiki.

To register your application with Fitbit and obtain a consumer key and secret, go to the UnderArmour Mashery ID registration.

For additional information about OmniAuth, visit OmniAuth wiki.

For a short tutorial on how to use OmniAuth in your Rails application, visit this tutsplus.com tutorial.