【问题标题】:SimpleSamlphp Error: State information lost, and no way to restart the requestSimpleSamlphp 错误:状态信息丢失,并且无法重新启动请求
【发布时间】:2014-09-13 04:07:03
【问题描述】:

我在使用 SimpleSamlphp 实现的 SSO 时遇到问题。

我已将所有内容配置如下:

authsources.php

'default-sp' => array(
    'saml:SP',
    'entityID' => '{{URLSP}}',
    'idp' => '{{URLIDP}}',
    'discoURL' => NULL,
    'privatekey' => 'saml.pem',
    'certificate' => 'saml.crt',
),

authsources.php (Idp)

'example-userpass' => array(
    'exampleauth:Static',
    'ecid' => '152',
    'orgdir' => '{{}}',
    'message' => '{{}}',

),

我在 saml20-idp-remote / saml20-sp-remote 中正确设置了元数据

我得到的错误是:

State information lost, and no way to restart the request.

0: xxxlib/SimpleSAML/Auth/State.php:154 (SimpleSAML_Auth_State::loadState)
1: xxx/modules/saml/www/sp/saml2-acs.php:31 (require)
2: xxx/www/module.php:137 (N/A)

我检查了 SAML 响应,发现签名值不同,可能是这个问题吗?

【问题讨论】:

    标签: php authentication single-sign-on saml simplesamlphp


    【解决方案1】:

    已排序,我必须指定 RelayState。

    【讨论】:

      猜你喜欢
      • 2016-11-20
      • 2016-05-05
      • 2017-09-15
      • 1970-01-01
      • 2013-07-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多