添加新应用程序以访问 saml 时,我遇到了这个问题。
SSOService.php:1 获取https://saml.testing.net/www/saml2/idp/SSOService.php?spentityid=newapp&cookieTime=1459920375
net::ERR_TOO_MANY_REDIRECTS
在我的本地我没有遇到任何问题,但是当我将代码复制到登台服务器时,它会显示 ERR_TOO_MANY_REDIRECTS 错误,继续重定向,并且无法显示 saml 登录页面。带有负载平衡器的登台服务器,这会导致错误吗?
谢谢。
更新:
$config = array(
'baseurlpath' => 'https://saml.testing.net/',
'certdir' => '/etc/test/sslcerts/',
'tempdir' => '/tmp',
'datadir' => 'data/',
'auth.adminpassword' => '1234567',
'admin.protectindexpage' => TRUE,
'admin.protectmetadata' => TRUE,
'secretsalt' => 'xxxxxxxxx',
'timezone' => NULL,
// logging related options
'loggingdir' => '/var/log/simplesamlphp/',
'logging.level' => LOG_WARNING,
'logging.logfile' => 'simplesaml_' .date("Ymd") . '.log',
'debug' => true,
'showerrors' => true,
'logging.handler' => 'file',
'logging.facility' => LOG_USER,
'logging.processname' => 'simplesaml',
'debug.validatexml' => FALSE,
'enable.saml20-idp' => …Run Code Online (Sandbox Code Playgroud)