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

WSO2 IS V6.1中使用DCR端点更新客户端应用失败问题

解决WSO2 IS V6.1中DCR端点更新客户端的405错误问题

你遇到的HTTP 405 Method Not Allowed错误,是因为使用的PUT请求URL不符合DCR更新端点的要求——文档给出的命令有误,正确的更新请求需要在URL末尾指定要修改的客户端ID。

正确的更新客户端cURL命令

curl -k -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -d '{ "redirect_uris":["https://client.example.org/callback"],"client_name":"application1","grant_types": ["password","authorization_code"] }' "https://localhost:9443/api/identity/oauth2/dcr/v1.1/register/provided_client_id0002"

关键说明

  • 更新DCR客户端的端点格式为:https://localhost:9443/api/identity/oauth2/dcr/v1.1/register/<client_id>
  • 需将<client_id>替换为你创建客户端时指定的ext_param_client_id值(示例中为provided_client_id0002)

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

相关产品推荐
方舟 Agent Plan

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

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