我是SSO新手,正在尝试在现有的Windows、PHP/MySQL服务器上设置simplesamlphp。我已经安装了最新版本的simplesamlphp,并遵循了simplesaml.org站点上的配置说明,包括在Apache配置文件中设置VirtualHost,在simplesaml配置文件中设置basurlpath、auth.password、secretsalt和技术联系信息。此时,我可以加载frontpage_federation.php页面,但是当我尝试以管理员身份登录时,该过程超时。我收到一条错误消息,说站点无法访问,并且站点花了太长时间才做出响应。以前有没有人经历过这种情况&你能告诉我我在配置中犯了什么错误吗?
httpd.conf
<VirtualHost *>
ServerName service.example.corp:8080
DocumentRoot G:/localhost/simplesamlphp/www/service.example.corp
SetEnv SIMPLESAMLPHP_CONFIG_DIR G:/localhost/simplesamlphp/config
Alias /simplesaml G:/localhost/simplesamlphp/www
<Directory G:/localhost/simplesamlphp/www>
Require all granted
</Directory>
</VirtualHost>config.php
'baseurlpath' => 'https://service.example.corp:8080/simplesaml/',发布于 2021-12-01 14:27:06
我猜想在你输入凭证后重定向你的时候出了点问题,你最终得到的URL没有那个端口号。您的浏览器的web开发工具栏,或者优秀的SAML Tracer浏览器扩展,应该能够确认哪些请求被发送到哪些确切的URL。这可能有助于找出你的问题。
https://stackoverflow.com/questions/69590509
复制相似问题