1

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 応答を確認したところ、署名の値が異なっていることがわかりました。それが問題なのでしょうか?

4

1 に答える 1

0

並べ替え、RelayState を指定する必要がありました。

于 2014-07-22T16:02:04.097 に答える