Google 身份:客户端错误 POST https://oauth2.googleapis.com/token 响应无效授予错误请求

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

我使用 Postman 测试对 Google Identity API 的请求。

我遵循了 Google Identity 的 doc,我成功地完成了“获取 OAuth 2.0 访问令牌”的前 4 个步骤,但对于最后一步,我完全遵循了文档,但在该步骤中,我收到了以下 400 错误:

enter image description here

我的请求有什么问题,可以帮忙吗?

提前致谢!

api google-cloud-platform oauth-2.0 postman
1个回答
0
投票

我也有和你一样的问题

第五步,交换token时,让data = wait oauth2Client.getToken(code);报告错误。

你看到https://github.com/googleapis/google-api-nodejs-client/issues/3450

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