Sha256: 10c0e1690603ae0627badef194420e4aaac13561d68488a8726578a317e40f79
Contents?: true
Size: 593 Bytes
Versions: 5
Compression:
Stored size: 593 Bytes
Contents
module RailsSso class Engine < Rails::Engine initializer 'sso.helpers' do ActiveSupport.on_load(:action_controller) do include RailsSso::Helpers end end initializer 'sso.omniauth', after: :load_config_initializers, before: :build_middleware_stack do |app| if RailsSso.provider_name app.config.middleware.use OmniAuth::Builder do provider RailsSso.provider_name, RailsSso.provider_key, RailsSso.provider_secret, callback_path: RailsSso.provider_callback_path end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems