0.0
No commit activity in last 3 years
No release in over 3 years
OmniAuth provider that supports authentication against UOC REST apis.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

~> 0.9.0
~> 0.5.5
~> 1.0
 Project Readme

omniauth_uoc

The omniauth_uoc library is an OmniAuth provider that supports authentication against UOC REST apis

Installation

Add this line to your application's Gemfile:

gem 'omniauth', '~> 1.0'
gem 'omniauth_uoc'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth_uoc

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, :uoc_server_url=>"https://cv.uoc.edu/"
end

References

Contributing

  1. Fork it ( https://github.com/UOC/omniauth_uoc/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

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