【问题标题】:OAuth call from Rest Client来自 Rest 客户端的 OAuth 调用
【发布时间】:2017-01-16 03:05:35
【问题描述】:

由于我不熟悉 OAuth 和 Curl 脚本,因此它运行良好。但是尝试从 Advances Rest Client 调用得到 500 internal server error ..

在尝试从 Rest 客户端创建新客户端时,

http://localhost:2021/oauth_uri?client_id=unique_client_id&client_secret=client_secret_value&scope[]=clients.admin&authorized_grant_types[]=password&authorized_grant_types[]=authorization_code&authorized_grant_types[]=refresh_token&authorized_grant_types[]=client_credentials&authorized_grant_types[]=implicit&access_token_validity=900&refresh_token_validity=2592000

,Content-Type: application/json and

授权:Bearer Access_Token 值

任何帮助将不胜感激

【问题讨论】:

    标签: rest curl oauth


    【解决方案1】:

    您是否检查过从 REST 客户端生成的代码是什么。您可以通过导出它来做到这一点。也可以试试 POSTMAN,以防您仍然无法解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-15
      • 2013-05-16
      • 1970-01-01
      • 2017-10-19
      • 1970-01-01
      • 2015-11-29
      相关资源
      最近更新 更多