gitlab-org--gitlab-foss/lib/gitlab/auth/saml/config.rb
Rubén Dávila afe2c15e6b Fix provider server URL used when listing repos to import
Also use Gitlab::Auth::OAuth::Provider.config_for to access OmniAuth config
2018-03-12 16:01:43 -05:00

21 lines
380 B
Ruby

module Gitlab
module Auth
module Saml
class Config
class << self
def options
Gitlab::Auth::OAuth::Provider.config_for('saml')
end
def groups
options[:groups_attribute]
end
def external_groups
options[:external_groups]
end
end
end
end
end
end