A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/u2i/omniauth-classlink below:

u2i/omniauth-classlink: OmniAuth strategy for ClassLink

Unofficial OmniAuth strategy for ClassLink integration.

Add the gem to your application's Gemfile:

And then execute:

First, you need to have your OAuth2 application registered in ClassLink. After creating one, you'll be provided with access key and secret that should be used for configuring the gem.

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :class_link, 'your-classlink-access-key', 'your-classlink-secret', strategy_class: 'OmniAuth::Strategies::ClassLink'
end

Or, alternatively, if you use Devise, you can put this in the Devise.setup section:

 config.omniauth :class_link,
                 'your-classlink-access-key',
                 'your-classlink-secret',
                 strategy_class: 'OmniAuth::Strategies::ClassLink'
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Apache 2.0


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