无法处理 WSO2 IS-KM 5.10.0 中基于 Open ID Connect 的服务提供商中的无效凭据消息

时间:2021-02-04 08:38:15

标签: wso2 openid-connect openid wso2is

我正在使用基于 OpenId 连接的登录,在一个服务提供商中,我启用了基本请求路径身份验证,而在其他中,我有用户基本身份验证器(本地,作为多步骤的第一步)。

当我在 Basic Request Path Authenticate SP 中提供错误的凭据时,我从服务提供商处获得以下重定向 URL,但没有出现错误消息。

http://localhost:3000?error_description=Authentication+required&error=login_required&session_state=6ab013439a9dddd57d0de0ddaf8fdb850b70ebfc10f3491adecd7530d9ccfd7a.UMFYN70Vl8nE7RbIZqc7GA

当我将错误的凭据提供为 Basic Auth SP 时,我收到以下重定向 URL,但同样没有出现错误消息。

https://10.201.8.13:5004/authenticationendpoint/retry.do?sp=MFALocal&tenantDomain=carbon.super

从日志中,我可以看到下面的内容。

TID: [-1234] [] [2021-02-04 18:10:18,036] [e0edd621-75e7-4f8a-b83a-b37f855c5182] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler} - Sending response back to: /oauth2/authorize...
commonAuthAuthenticated: false
authenticatedUser: No Authenticated User
authenticatedIdPs: null
sessionDataKey: d452cedc-0069-4d66-92a3-3b1f5cce35e1
TID: [-1234] [] [2021-02-04 18:10:18,037] [e0edd621-75e7-4f8a-b83a-b37f855c5182] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler} - Populated errorCode=null, errorMessage=null, errorUri=null to the AuthenticationResult.
TID: [-1234] [] [2021-02-04 18:10:18,037] [e0edd621-75e7-4f8a-b83a-b37f855c5182] DEBUG {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator} - Context id: 67501787-7854-4cfb-8da0-f8fc74858cee left the thread with id: 214

我已参考链接 https://is.docs.wso2.com/en/5.9.0/develop/customizing-authentication-error-messages/#customizing-authentication-error-messages 并按上述方式进行了配置,但在向 Open Id API 提供错误凭据时仍未收到有效的错误消息。

有人可以看看这个吗?

0 个答案:

没有答案