SimpleSaml和WSO2身份提供商5

时间:2014-07-04 05:58:40

标签: wso2 wso2is simplesamlphp

也许有人可以提供帮助。

我在服务器上设置了Simplesaml,我正在尝试使用它来验证wso2(使用facebook身份验证器)并在不同的服务器上运行。

当我测试simplesaml时,我收到以下错误

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION

Backtrace:
0 /var/simplesamlphp/simplesamlphp/www/module.php:180 (N/A)
Caused by: SimpleSAML_Error_Exception: Could not find the metadata of an IdP with entity ID 'localhost'
Backtrace:
2 /var/simplesamlphp/simplesamlphp/modules/saml/lib/Auth/Source/SP.php:134 (sspmod_saml_Auth_Source_SP::getIdPMetadata)
1 /var/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php:74 (require)
0 /var/simplesamlphp/simplesamlphp/www/module.php:135 (N/A)
`

正如你可以看到它抱怨localhost idp。我真的找不到任何配置文件中对localhost的引用。有没有人见过这个。

预先感谢您的协助

1 个答案:

答案 0 :(得分:1)

我认为在Identity Server发送的SAML断言中包含localhost值。你可以验证一下吗?如果可以使用身份服务器的管理控制台编辑此值。

您需要在Identity Server端配置颁发者名称。默认情况下,它已配置为localhost。您可以登录Identity Server的管理控制台并配置可以在Resident Identity Provider菜单下看到的Identity Provider -> List

我附上了配置屏幕截图。 enter image description here

相关问题