git.cweiske.de
/
indieauth-openid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7be8cab
)
hint about openid timeouts
author
Christian Weiske
<christian.weiske@netresearch.de>
Wed, 22 Jul 2015 08:37:09 +0000
(10:37 +0200)
committer
Christian Weiske
<christian.weiske@netresearch.de>
Wed, 22 Jul 2015 08:37:09 +0000
(10:37 +0200)
www/index.php
patch
|
blob
|
history
diff --git
a/www/index.php
b/www/index.php
index 3a32eea7d9e10d7e781d77e6a9734fd26a43db4d..2e6b4c8c4bb0671977816a67320e415994146020 100644
(file)
--- 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);
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");
$authRequest = $o->prepare();
$url = $authRequest->getAuthorizeURL();
header("Location: $url");