Open tvdijen opened 2 months ago
Adding the workaround @tvdijen shared with me
'authName' => array(
'authoauth2:OAuth2',
// *** Required for all integrations ***
'urlAuthorize' => 'https://www.example.com/oauth2/authorize',
'urlAccessToken' => 'https://www.example.com/oauth2/token',
'urlResourceOwnerDetails' => 'https://api.example.com/userinfo',
// other settings
'proxy' => [
'http' => 'http://myproxy:8080/',
'https' => 'http://myproxy:8080/',
],
)
and the preferred solution would be, if the proxy setting is not defined in authsource, use the settings from config.php
. Those settings may differ from the way Guzzle expects them. e.g. in config.php
the proxy
setting may equal 'tcp://proxy.example.com:5100' , while Guzzle wants the scheme to be http
. proxy authentication is handled by guzzle as part of the url, while in config.php
it is a separate setting.
I have to use the company proxy to connect outside our network, but this module currently doesn't pass SSP's proxy-settings to the HTTP-client.