omniauth--omniauth/oa-enterprise
James A. Rosen c5bb22df9d added 'WebMock.disable_net_connect' to all spec_helpers 2010-08-11 08:50:20 -07:00
..
lib/omniauth Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
spec added 'WebMock.disable_net_connect' to all spec_helpers 2010-08-11 08:50:20 -07:00
CHANGELOG.rdoc Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
Gemfile Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
Gemfile.lock Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
LICENSE.rdoc Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
README.rdoc Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
Rakefile Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
VERSION Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00
oa-enterprise.gemspec Renamed corporate to enterprise. 2010-08-10 15:04:19 -05:00

README.rdoc

= OmniAuth::Enterprise

OmniAuth strategies for use in your intranet.

== Installation

To get just enterprise functionality:

    gem install oa-enterprise
    
For the full auth suite:

    gem install omniauth
    
== Stand-Alone Example

Use the strategy as a middleware in your application:

    require 'omniauth/enterprise'
    
    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/enterprise'
    require 'omniauth/oauth'  # for Campfire
    require 'openid/store/filesystem'
    
    use OmniAuth::Builder do
      provider :cas, :server => 'http://cas.mycompany.com/cas'
      provider :campfire
    end