Kitsu API身份验证返回无效授权

问题描述 投票:0回答:1

我正在试图弄清楚如何使用Kitsu API进行调用,如更新条目等。事情是我已经在认证上。根据文档,以下内容足以满足授权类型密码:

curl -X POST -d "grant_type=password&username=<myusername>&password=<mypassword>" https://kitsu.io/api/oauth/token

然而,它导致了

{"error":"invalid_grant","error_description":"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}

错误使得看起来这种授权类型不再存在(所以),所以我对如何继续现在感到困惑。

api curl
1个回答
0
投票

经过一些试验和错误后,我得出结论,API文档包含一些缺陷。而不是<username>它应该是<email>,非常混乱/烦人...

© www.soinside.com 2019 - 2024. All rights reserved.