directly in the RingPhp CurlFactory, that used to work then but that seems to be not enough anymore. The initial call seems to succeed but the callback route throws an exception that it cannot fopen(https://accounts.google.com/o/oauth2/token). So I would also need to hack the fopen stream context, could not yet figure out how to do this. But since directly editing vendor files is not at all good practice, is there an easy solution to use eloquent-oauth behind proxy that I maybe missed?
I am facing a few issues especially regarding GuzzleHttp/RingPhp when it comes to Google auth through a company proxy.
I tried hacking curl by inserting
curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($handle, CURLOPT_PROXY, '');
directly in the RingPhp CurlFactory, that used to work then but that seems to be not enough anymore. The initial call seems to succeed but the callback route throws an exception that it cannot fopen(https://accounts.google.com/o/oauth2/token). So I would also need to hack the fopen stream context, could not yet figure out how to do this. But since directly editing vendor files is not at all good practice, is there an easy solution to use eloquent-oauth behind proxy that I maybe missed?
I am using Laravel 5. Thanks a lot!