Sha256: f07ee48e608894c0a79ffaf397e597fa454ff510bdba7a8171a9f164b565df2e

Contents?: true

Size: 557 Bytes

Versions: 15

Compression:

Stored size: 557 Bytes

Contents

Devise.setup do |config|
  require 'devise/orm/active_record'

  config.case_insensitive_keys = [:email]
  config.strip_whitespace_keys = [:email]

  config.skip_session_storage = [:http_auth]

  config.stretches = Rails.env.test? ? 1 : 11

  config.reconfirmable = true

  config.expire_all_remember_me_on_sign_out = true

  config.email_regexp = /\A[^@\s]+@[^@\s]+\z/

  config.sign_out_via = :get

  # ==> OmniAuth
  config.omniauth :infinum_id, InfinumId.client_id, InfinumId.client_secret,
                  client_options: { site: InfinumId.url }
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
infinum_id-2.2.0 config/initializers/devise.rb
infinum_id-2.1.0 config/initializers/devise.rb
infinum_id-2.0.1 config/initializers/devise.rb
infinum_id-2.0.0 config/initializers/devise.rb
infinum_id-1.6.0 config/initializers/devise.rb
infinum_id-1.5.1 config/initializers/devise.rb
infinum_id-1.5.0 config/initializers/devise.rb
infinum_id-1.4.2 config/initializers/devise.rb
infinum_id-1.4.1 config/initializers/devise.rb
infinum_id-1.4.0 config/initializers/devise.rb
infinum_id-1.3.1 config/initializers/devise.rb
infinum_id-1.3.0 config/initializers/devise.rb
infinum_id-1.2.0 config/initializers/devise.rb
infinum_id-1.1.0 config/initializers/devise.rb
infinum_id-1.0.0 config/initializers/devise.rb