是否可以从本地主机连接 Shibboleth idp?

Is it possible to connect Shibboleth idp from localhost?

我在本地主机上安装了 Shibboleth 服务提供商。我想连接到 shibboleth idp。

Error Message: No peer endpoint available to which to send SAML response

这是因为我从本地主机连接到 IDP(idp.shibtest.org)?

samltest.id 是测试口令的好方法。

不能使用本地主机作为SP连接到远程IDp,iDp找不到任何SP到return 因为 localhost 意味着它是自己的系统 所以 IDp 会进入它的本地系统并找到给定 SP 的实体 ID。它不会找到该实体 ID,所以它会给出这样的错误。

这两个方法或许能帮到你

  1. 为您的机器提供一些 public IP 并尝试使用该 SP 连接到 IDp。
  2. 如果您无法创建 public IP,在您的本地系统中同时创建 SP 和 IDp。 我的 this 回答可能对您有所帮助。