Using req through proxy server with auth

How should I define a proxy server with authentication (user: pass) in req (it’s an organizational proxy to the outside world).
The documentation directs to finch, but their documentation is not clear either.

Thanks in advance,


The code should look like this:

proxy_aut = {"proxy_user", "proxy_pass"}
		api_aut = {"api_user", "api_pass"}
		proxy_details = {:http, "", 8080, [proxy_auth: proxy_aut]}
		Req.get!(req, connect_options: [proxy: proxy_details])