首页 > 解决方案 > WSO2:如何在 wso2 中集成 APIM 和 IS

问题描述

我目前正在评估 WSO2 IS 的 APIM 身份验证。基本上,APIM 登录、身份验证和令牌生成应该通过 WSO2 IS 进行。

我已经阅读了 wso2 站点中存在的许多文档,但无法通过它。

我使用 IS 作为 5.7.0 版和 APIM 作为 2.5.0 版

如果有人可以帮助我获得具有逐步过程的正确文档链接,那么它可能会提供很大的支持。

但是,我已经浏览了以下链接

这是 [link1] ( https://docs.wso2.com/display/CLUSTER44x/Configuring+the+Identity+Server+5.2.0+as+a+Key+Manager+with+API+Manager+2.0.0# )

这是 [link2] https://docs.wso2.com/display/CLUSTER420/Configuring+the+Identity+Server+5.0.0+with+API+Manager+1.9.1

如前所述,现在我已将 IS 与 IAM 集成,但是当我尝试从商店获取应用程序订阅令牌时,出现以下错误

错误 - AbstractKeyManager 无法检索给定使用者密钥的 OAuth 应用程序:xxxxxxxxxxxxxxxxxxxx org.apache.axis2.AxisFault:找不到端点参考 (EPR) 的服务 https://localhost:9445/services/APIKeyMgtSubscriberService at org.apache .axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) 在 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:381) 在 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java :456) 在 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) 的 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:227)

有人可以检查并让我知道如何避免这种情况。我必须在任何地方更新主机名吗?

谢谢

标签: wso2wso2iswso2-am

解决方案


请参阅此文档 - https://docs.wso2.com/display/AM250/Configuring+WSO2+Identity+Server+as+a+Key+Manager。它包含将 IS 配置为 APIM 的密钥管理器的步骤


推荐阅读