Configure CA path for OpenID
This commit is contained in:
parent
5bb11f892a
commit
fc57778d61
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
require "openid/fetchers"
|
||||
|
||||
CA_BUNDLES = ["/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/cert.pem"]
|
||||
|
||||
OpenID.fetcher.ca_file = CA_BUNDLES.find { |f| File.exist?(f) }
|
||||
|
||||
OmniAuth.config.logger = Rails.logger
|
||||
OmniAuth.config.failure_raise_out_environments = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue