(WSO2 AM 4.1:令牌端点)我们可以将网关用作默认令牌端点吗?
在新的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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,网关删除了这些文件。
要将自定义运行时工件部署在网关中,请在/repository/conf/deployment.toml文件中添加以下配置。
请参阅 - 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.
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