From: Christian Weiske Date: Wed, 22 Jul 2015 08:37:09 +0000 (+0200) Subject: hint about openid timeouts X-Git-Url: https://git.cweiske.de/indieauth-openid.git/commitdiff_plain/dbb52926d37740fc6da6f7a9718ef6bb4b83f8ce hint about openid timeouts --- diff --git a/www/index.php b/www/index.php index 3a32eea..2e6b4c8 100644 --- a/www/index.php +++ b/www/index.php @@ -201,6 +201,11 @@ if ($_SERVER['REQUEST_METHOD'] == 'GET') { try { $o = new \OpenID_RelyingParty($returnTo, $realm, $me); + //if you get timeouts (errors like + // OpenID error: Request timed out after 3 second(s) + //) then uncomment the following line which disables + // all timeouts: + //$o->setRequestOptions(array('follow_redirects' => true)); $authRequest = $o->prepare(); $url = $authRequest->getAuthorizeURL(); header("Location: $url");