OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/lib/open_project/auth_plugins/engine.rb

26 lines
827 B

# Prevent load-order problems in case openproject-plugins is listed after a plugin in the Gemfile
# or not at all
require 'open_project/plugins'
module OpenProject::OpenIDConnect
class Engine < ::Rails::Engine
engine_name :openproject_auth_plugins
include OpenProject::Plugins::ActsAsOpEngine
register 'openproject-auth_plugins',
:author_url => 'http://finn.de',
:requires_openproject => '>= 3.1.0pre1'#,
# :global_assets => { css: 'openid_connect/openid_connect.css' },
# :settings => { 'default' => { 'providers' => {} } }
# assets %w(
# openid_connect/openid_connect.css
# openid_connect/auth_provider-google.png
# )
initializer 'auth_plugins.register_hooks' do
require 'open_project/auth_plugins/hooks'
end
end
end