Sha256: 4581c0fbceef7a2fba89f2e4c96d760ff03fb469a86dc3ed386c1fd7c8037bc4

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

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

Rails.application.config.middleware.use OpenConferenceWare::OmniAuthBuilder do
  # Configure authentication providers for OpenConferenceWare

  # The providers below are supported with built-in sign in forms.
  #
  # Additional providers can be found at:
  #   https://github.com/intridea/omniauth/wiki/List-of-Strategies
  #
  # When adding a new provider, it will be linked to from the sign in page.
  #
  # If you want to display a nicer form, just add a partial at
  # /app/views/open_conference_ware/authentications/_<provider>.html.erb
  #
  # Providers will be shown on the sign in page in the order they are added.

  # OpenID
  # add 'omniauth-openid' to Gemfile and uncomment to enable 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

  # Developer
  # Used to provide easy authentication during development
  provider :developer if %w[development preview].include?(Rails.env)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 lib/generators/open_conference_ware/install/templates/omniauth_initializer.rb
open_conference_ware-1.0.0.pre3 lib/generators/open_conference_ware/install/templates/omniauth_initializer.rb
open_conference_ware-1.0.0.pre2 lib/generators/open_conference_ware/install/templates/omniauth_initializer.rb