(WSO2 AM 4.1:令牌端点)我们可以将网关用作默认令牌端点吗?

发布于 2025-01-24 20:57:18 字数 412 浏览 2 评论 0原文

在新的WSO2 APIM版本(4.0/4.1)中,默认令牌端点已更改。它曾经是网关: https://gw.wso2.com/oauth2/com ofoken2/token 呼叫将重定向到密钥管理器节点。现在,有了新闻版本,我们不需要去陷入困境,因为我们可以直接致电令牌操作的钥匙经理。

有没有办法在新版本4.1中审查旧版本的相同行为?

目前,我尝试在Synapse-Configs中添加 tokenapi .xml API,以查看我是否可以产生相同的体验,但是API在启动中会自动破坏。

有什么想法吗?

先感谢您 。

此致,

in new wso2 apim versions (4.0/4.1) the default token endpoint has changed . It used to be the Gateway : https://gw.wso2.com/oauth2/token and the the call is redirected to the key manager node . Now with the news versions , we do not need to go trough that process as we can directly call the key-manager for token operations .

is there a way to preseve the same behavior of the old versions in the new version 4.1 ?

For now, I tried adding the TokenAPI.xml api in the synapse-configs to see if i can produce the same experience , but the api is automatically destroyed in startup.

Any ideas ?

Thank you in advance .

Best regards,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

中性美 2025-01-31 20:57:18

是的,网关删除了这些文件。

要将自定义运行时工件部署在网关中,请在/repository/conf/deployment.toml文件中添加以下配置。

[apim.sync_runtime_artifacts.gateway.skip_list]
apis = ["token_api_file_name.xml"]

请参阅 - https://apim.docs.wso2.com/en/latest/install-andstall-and-setup/setup/setup/distributed-deployment/deployment/deploying-wso2-api -m-in-a-a-a-distribed-setup/#configure-the-gateway-nodes

Yes, the gateway removes those files.

To keep custom runtime artifacts deployed in the Gateway, add the following configuration in the /repository/conf/deployment.toml file.

[apim.sync_runtime_artifacts.gateway.skip_list]
apis = ["token_api_file_name.xml"]

Refer - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-distributed-setup/#configure-the-gateway-nodes

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文