【问题标题】:Exception: Error in simplesamlphp_auth.module: no valid unique id attribute set例外:simplesamlphp_auth.module 中的错误:没有有效的唯一 id 属性集
【发布时间】:2016-01-30 07:58:05
【问题描述】:

我安装了 simplesamlphp 和 simplesamlauth。当我尝试登录时出现此错误,谁能帮我解决这个问题?

例外:

simplesamlphp_auth.module 中的错误:没有有效的唯一 ID 属性集。在 _simplesamlphp_auth_get_authname() 中(第 419 行 /var/www/html/drupal/sites/all/modules/contrib/simplesamlphp_auth/simplesamlphp_auth.module)。

【问题讨论】:

    标签: drupal-7 simplesamlphp simple-authentication


    【解决方案1】:

    发生这种情况是因为 IdP 未提供您在模块配置页面上的“simpleSAMLphp 中的哪个属性应用作用户的唯一标识符”字段中指定的属性。如果(例如)您尝试使用 TestShib.org 上的 IdP 测试模块,您将收到该错误,因为该字段中的默认名称和建议的其他名称均不匹配 TestShib 提供的任何属性。组织。因此,假设您无法控制 IdP,您需要确定在提供的 属性中,哪些属性将用作唯一标识符,并在该字段中输入该名称。再次以 TestShib.org 为例,如果您使用 simpleSAMLphp 应用程序(而不是模块)登录,您将在该页面上看到提供的属性列表,其名称在左侧列中。

    【讨论】:

      猜你喜欢
      • 2014-03-13
      • 1970-01-01
      • 2013-11-07
      • 1970-01-01
      • 2021-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-24
      相关资源
      最近更新 更多