Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinVoineag committed Dec 11, 2024
1 parent f6afd66 commit b4a8b0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/omniauth/onelogin_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ def self.configure(builder)
private_key_pem = private_key_pem.gsub('\n', "\n")
private_key = OpenSSL::PKey::RSA.new(private_key_pem)
rescue OpenSSL::PKey::RSAError => e
raise e unless HostingEnvironment.development?
#raise e unless HostingEnvironment.development?
puts "rails env #{Rails.env} and hosting env #{HostingEnvironment.development?}"
puts "hosting env name #{HostingEnvironment.environment_name}"
end

builder.provider :govuk_one_login_openid_connect,
Expand Down

0 comments on commit b4a8b0b

Please sign in to comment.