From dbb52926d37740fc6da6f7a9718ef6bb4b83f8ce Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 22 Jul 2015 10:37:09 +0200 Subject: [PATCH] hint about openid timeouts --- www/index.php | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- 2.30.2