OmniAuth CaseNEX

Work in Progress

This gem is an OmniAuth Strategy for the CaseNEX SSO server (http://auth.casenex.com/) which uses OAuth 2.0

Usage

Add the strategy to your Gemfile alongside OmniAuth:

gem 'omniauth'
gem 'omniauth-casenex'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :casenex, ENV['CASENEX_KEY'], ENV['CASENEX_SECRET']
end

In Rails, you'll want to add to the middleware stack:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :casenex, ENV['CASENEX_KEY'], ENV['CASENEX_SECRET']
end

For additional information, refer to the OmniAuth wiki.