Sha256: d95cd5ea1bb26be51f802ba47f24457e229baac2ddd89bc526de76dc5ed0b890

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 Bytes

Contents

OmniAuth.config.path_prefix = OpenConferenceWare.mounted_path("auth")

Rails.application.config.middleware.use OpenConferenceWare::OmniAuthBuilder do
  provider :developer if %w[development preview].include?(Rails.env)

  # OpenID
  # add 'omniauth-openid' to Gemfile and uncomment to enable OpenID
  #
  require 'omniauth-openid'
  require 'openid/store/filesystem'
  provider :openid, store: OpenID::Store::Filesystem.new(Rails.root.join('tmp'))

  # Persona
  # add 'omniauth-persona' to Gemfile and uncomment to enable Persona
  #
  #provider :persona
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 spec/dummy/config/initializers/02_omniauth.rb
open_conference_ware-1.0.0.pre3 spec/dummy/config/initializers/02_omniauth.rb