omniauth--omniauth/oa-corporate
James A. Rosen b98106af27 bumped oa-corporate version to 0.0.3 to match others' 2010-07-04 15:44:32 -04:00
..
lib/omniauth added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
spec added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
CHANGELOG.rdoc added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
Gemfile added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
LICENSE.rdoc added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
README.rdoc added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
Rakefile added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00
VERSION bumped oa-corporate version to 0.0.3 to match others' 2010-07-04 15:44:32 -04:00
oa-corporate.gemspec added CAS strategy under new oa-corporate gem 2010-07-04 15:42:09 -04:00

README.rdoc

= OmniAuth::Corporate

OmniAuth strategies for use in your intranet.

== Installation

To get just corporate functionality:

    gem install oa-corporate
    
For the full auth suite:

    gem install omniauth
    
== Stand-Alone Example

Use the strategy as a middleware in your application:

    require 'omniauth/corporate'
    
    use OmniAuth::Strategies::CAS, :server => 'http://cas.mycompany.com/cas'
    
Then simply direct users to '/auth/cas' to have them sign in via your company's CAS server.
See OmniAuth::Strategies::CAS::Configuration for more configuration options.


== OmniAuth Builder

If CAS is one of several authentication strategies, use the OmniAuth Builder:

    require 'omniauth/corporate'
    require 'omniauth/oauth'  # for Campfire
    require 'openid/store/filesystem'
    
    use OmniAuth::Builder do
      provider :cas, :server => 'http://cas.mycompany.com/cas'
      provider :campfire
    end