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

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

 Project Readme

Omniauth::Adroll

Gem Version

This gem contains the Adroll strategy for OmniAuth.

For more information about the Adroll Api authentication: https://developers.adroll.com/docs/guides/oauth.html#guide-oauth

Installation

Add this line to your application's Gemfile:

gem 'omniauth-adroll'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-adroll

Usage

If you are using rails, you need to add the gem to your Gemfile:

gem 'omniauth-adroll'

You can pull them in directly from github e.g.:

gem "omniauth-adroll", :git => "git://github.com/anmolarora/omniauth-adroll.git"

Add provider in omniauth.rb along with CLIENT_ID and CLIENT_SECRET

e.g.

provider :adroll, ADROLL_CLIENT_ID, ADROLL_CLIENT_SECRET, callback_url: ADROLL_CALLBACK_URL

Obtain your CLIENT_ID/CLIENT_SECRET by registering your app on- https://developers.adroll.com/user/register

After you have the gem running and the configuration is done, you can get to the follow url to log the user in:

http://localhost:3000/auth/adroll

Now just follow the README at: https://github.com/omniauth/omniauth

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anmolarora/omniauth-adroll.

License

The gem is available as open source under the terms of the MIT License.