【问题标题】:ADFS 3.0 - Error - No strong authentication method found for the requestADFS 3.0 - 错误 - 没有为请求找到强身份验证方法
【发布时间】:2016-02-19 13:40:51
【问题描述】:

错误背后的可能原因是什么:

No strong authentication method found for the request.

Stack:
Encountered error during federation passive request. 

Protocol Name: 
Saml
Relying Party: 
http://testfs/adfs/services/trust 
Exception details: 
Microsoft.IdentityServer.RequestFailedException: No strong authentication method found for the request from http://testfs/adfs/services/trust.
   at Microsoft.IdentityServer.Web.PassiveProtocolListener.CheckAuthenticationOptionsForMethods(ProtocolContext context, List`1 authMethods)
   at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

ADFS 已正确设置全局身份验证方法,如下所示:

  1. 外联网:表单身份验证
  2. Intranet:Windows 身份验证

访问以下网址时出现错误: https://testfs/adfs/ls/IdpInitiatedSignon.aspx

注意:启用多重身份验证时会发生这种情况。 MFA模块由https://adfsmfa.codeplex.com定制

我们将不胜感激任何形式的帮助。

【问题讨论】:

  • “这仅在启用多因素身份验证时才会发生”是什么意思。你能描述一下配置步骤吗?通常,这种类型的错误意味着请求 MFA 的应用程序或其他身份验证规则(全局或每个应用程序)启动,并且 ADFS 找不到合适的 MFA 提供程序。这意味着您的提供商的注册存在问题。
  • @SamuelDMSFT 我在哪里可以验证其他身份验证规则?从 ADFS 管理器看来,每个应用级别的 MFA 与全局配置相同。此外,目前仅检查了 1 个 MFA 提供商。

标签: adfs3.0


【解决方案1】:

在构造函数中出现问题,创建事件源需要特殊权限,ADFS的服务帐户没有此权限。

if (!EventLog.SourceExists(this.EventLogSource))
    EventLog.CreateEventSource(this.EventLogSource, this.EventLogGroup);

我删除了这 2 行并在单独的应用程序中创建事件源。 (在安装时考虑)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-08
    • 2017-06-01
    相关资源
    最近更新 更多