“ securityDefinitions”:{ “ auth”:{ “ type”:“ oauth2”, “ flow”:“ accessCode”, “ authorizationUrl”:“ http://127.0.0.1/[project_name]/web/api/authorize”, “ tokenUrl”:“ http://127.0.0.1/[project_name]/web/api/authorize/access_token”, “范围”:{ “ read:all”:“读取访问权限”, “ write:all”:“写访问权” } } }, “安全性”:[ { “验证”:[ “全部写”, “阅读:全部” ] } ]
在由client_id和client_sercet授权的过程中出错。
错误:
{ “错误”:{ “ message”:“客户端身份验证失败。”, “代码”:401, “数据”:[] } }