omniauth_uoc_cas

The omniauth_uoc_cas library is an OmniAuth provider that supports authentication against UOC CAS

Installation

Add this line to your application's Gemfile:

gem 'omniauth', '~> 1.0'
gem 'omniauth_uoc_cas'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth_uoc_cas

Usage

You will need to configure OmniAuth to use your uoc authentication. This is generally done in Rails in the config/initializers/omniauth.rb with:

Rails.application.config.middleware.use OmniAuth::Builder do
    provider :uoc_cas
end

References

Contributing

  1. Fork it ( https://github.com/rromerogar/omniauth_uoc_cas/fork )
  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 a new Pull Request

Copyright (c) 2014 Universitat Oberta de Catalunya. See LICENSE.txt for further details.