I'm getting the following errors in prod when I'm trying to authenticate with my keycloak instance which runs on https:
(MatchError) no match of right hand side value: {:error, :enoent}
(public_key 1.14) pubkey_os_cacerts.erl:38: :pubkey_os_cacerts.get/0
httpc.erl:476: :httpc.ssl_verify_host_options/1
httpc.erl:1015: anonymous fn/0 in :httpc.http_options_default/0
httpc.erl:961: :httpc.http_options/3
httpc.erl:771: :httpc.handle_request/9
lib/tesla/adapter/httpc.ex:52: Tesla.Adapter.Httpc.request/2
lib/tesla/adapter/httpc.ex:22: Tesla.Adapter.Httpc.call/2
lib/oauth2/request.ex:37: OAuth2.Request.request/6
How can I disable the ssl verify? afaik it's possible to disable it by setting ssl: {:verify, :verify_none} but I can't figure out how to pass opts to e.g. get_token!:
OAuth2.Client.get_token!(
client(),
code: code,
client_secret: client().client_secret,
grant_type: "authorization_code",
redirect_url: client().redirect_uri,
client_id: client().client_id
)