Sha256: f883499b1ed0f4ccf5f5b2ea4046797235af48675f566bd1f7bc0daccaea5545

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

Rails.application.config.middleware.use OmniAuth::Builder do
	provider :infinum, "APP_ID", "APP_SECRET", 
		:setup => lambda{|env| 
			env['omniauth.strategy'].options[:client_options].site = ENV['omniauth_infinum_url']
		}
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-infinum-0.11.1 lib/generators/infinum/omniauth/templates/rails/config/initializers/omniauth.rb
omniauth-infinum-0.10.0 lib/generators/infinum/omniauth/templates/rails/config/initializers/omniauth.rb
omniauth-infinum-0.10.1 lib/generators/infinum/omniauth/templates/rails/config/initializers/omniauth.rb