Skip to content

Commit

Permalink
removes config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexBLR committed Nov 18, 2024
1 parent 80d4d76 commit 4cbbc7a
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
# frozen_string_literal: true

Rails.application.config.class.class_eval do
attr_accessor :assertion_consumer_service_url,
:assertion_consumer_logout_service_url,
:issuer,
:idp_sso_target_url,
:idp_slo_target_url,
:idp_cert,
:certificate,
:private_key,
:attribute_statements,
:uid_attribute,
:security
end

Rails.application.config.assertion_consumer_service_url = nil
Rails.application.config.assertion_consumer_logout_service_url = nil
Rails.application.config.issuer = nil
Rails.application.config.idp_sso_target_url = nil
Rails.application.config.idp_slo_target_url = nil
Rails.application.config.idp_cert = nil
Rails.application.config.certificate = nil
Rails.application.config.private_key = nil
Rails.application.config.attribute_statements = {}
Rails.application.config.uid_attribute = nil
Rails.application.config.security = {}

Rails.application.config.middleware.use OmniAuth::Builder do
if !Rails.env.development? && !Rails.env.test?
provider :saml,
Expand Down

0 comments on commit 4cbbc7a

Please sign in to comment.