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
- OmniAuth: https://github.com/intridea/omniauth/
- Especially thanks to Derek Lindahl and his omniauth-cas. This gem extends his provider.
Contributing
- Fork it ( https://github.com/rromerogar/omniauth_uoc_cas/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Copyright
Copyright (c) 2014 Universitat Oberta de Catalunya. See LICENSE.txt for further details.