0

执行完中提到的所有步骤后: https ://developers.google.com/identity/protocols/OAuth2ServiceAccount

并使用邮递员发出访问令牌请求:https: //www.googleapis.com/oauth2/v4/token

我收到以下错误:

"error": "invalid_grant",
"error_description": "Invalid JWT Signature."

我也尝试了没有 OAuth 的服务帐户授权,并收到错误:

{"error": {

        "errors": [
            {
                "domain": "global",
                "reason": "authError",
                "message": "Invalid Credentials",
                "locationType": "header",
                "location": "Authorization"
            }
        ],
        "code": 401,
        "message": "Invalid Credentials"
    }
}

可能是什么问题,我该如何解决?

4

0 回答 0