Sha256: 542721efdec07b59550f78f62469975c84c5566fe54d79daae716d35a5185459

Contents?: true

Size: 870 Bytes

Versions: 4

Compression:

Stored size: 870 Bytes

Contents

Devise.setup do |config|

  # ==> OmniAuth
  # Add a new OmniAuth provider. Check the wiki for more information on setting
  # up on your models and hooks.
  # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'

  config.omniauth :developer unless Rails.env.production?

  require "omniauth-cas"

  config.omniauth :cas, name: "GadzOrg",
                  host:      Rails.application.secrets.cas_provider_url,
                  login_url: '/cas/login',
                  logout_url: '/cas/logout',
                  service_validate_url: '/cas/serviceValidate',
                  saml_validate_url: '/cas/samlValidate',
                  saml_time_url: '/cas',
                  saml: true,
                  ssl: true,
                  disable_ssl_verification: true,
                  return_url: false,
                  renew: false

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gorg_engine-1.2.4 config/initializers/cas.rb
gorg_engine-1.2.3 config/initializers/cas.rb
gorg_engine-1.2.0 config/initializers/cas.rb
gorg_engine-1.1.0 config/initializers/cas.rb