且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google API - 来自Oauth2的令牌请求返回“invalid_request”

更新时间:2023-12-04 12:26:58

请求正文应该是这样的单行:

Request body should be in single line like this:

code=4/vxQqw9JMYEnXvI8A_93OV7kBSg6h.8r2yJUkMc18dshQV0ieZDAraZNwsbwI&client_id=[my client id]&
client_secret=[my client secret]&redirect_uri=http://localhost:8080/auth&grant_type=authorization_code