You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSO2 Identity Server 6.1.0更新SP/IDP报错问题求助

问题:WSO2 IS完成联邦IDP认证后无法更新SP/IDP,重启后恢复

问题场景

配置了使用联邦SAML认证器的IDP,SP关联该IDP的联邦服务。认证流程执行前可正常更新SP和IDP,但完成完整认证流程(调用SP的OAuth2服务→登录联邦IDP→接收SAML2断言→发送断言至/oauth2/token端点→完成认证)后,更新SP/IDP时触发如下报错:

Error while updating Service Provider : Invalid application configuration for application: 'test_sp' of tenantDomain: test.com. Federated Identity Provider test_idp is not available in the server. No authenticator have been registered in the authentication flow.

必须重启WSO2 Identity Server才能再次进行更新操作。

解决方案

在deployment.toml文件中添加以下配置,禁用IDP按名称缓存的机制:

[cache.idp_cache_by_name]
enable = false

问题根源

该问题由IDP在用户认证后的缓存机制导致,认证完成后缓存的IDP状态与实际配置不一致,进而导致更新操作时无法正确识别IDP。

内容的提问来源于stack exchange,提问作者user23321495

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.30 10:02:33