Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anmolarora/omniauth-adroll
Login with Adroll OAuth2 strategy for OmniAuth
https://github.com/anmolarora/omniauth-adroll
oauth2 omniauth omniauth-strategy ruby ruby-on-rails
Last synced: about 2 months ago
JSON representation
Login with Adroll OAuth2 strategy for OmniAuth
- Host: GitHub
- URL: https://github.com/anmolarora/omniauth-adroll
- Owner: anmolarora
- License: mit
- Created: 2018-01-07T07:21:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T10:54:48.000Z (about 7 years ago)
- Last Synced: 2024-12-15T21:42:17.325Z (about 2 months ago)
- Topics: oauth2, omniauth, omniauth-strategy, ruby, ruby-on-rails
- Language: Ruby
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Omniauth::Adroll
[![Gem Version](https://badge.fury.io/rb/omniauth-adroll.svg)](https://badge.fury.io/rb/omniauth-adroll)
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:
```ruby
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:
```ruby
gem 'omniauth-adroll'
```
You can pull them in directly from github e.g.:```ruby
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.
```ruby
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](https://opensource.org/licenses/MIT).