I am not sure why i am getting this error message. i have inserted the ids
POST /oauth2/v4/token HTTP/1.1
Host: www.googleapis.com
Content-length: 322
content-type: application/x-www-form-urlencoded
user-agent: google-oauth-playground
HTTP/1.1 400 Bad Request Content-length: 68 X-xss-protection: 1; mode=block X-content-type-options: nosniff Transfer-encoding: chunked Vary: Origin, X-Origin, Referer Server: ESF -content-encoding: gzip Cache-control: private Date: Sun, 11 Nov 2018 23:59:34 GMT X-frame-options: SAMEORIGIN Alt-svc: quic=":443"; ma=2592000; v="44,43,39,35" Content-type: application/json; charset=utf-8
{
"error_description": "Bad Request",
"error": "invalid_grant"
}
grantrequest is not valid.grant_typewill look likegrant_type: urn:ietf:params:oauth:grant-type:jwt-bearerorgrant_type: refresh_tokenbefore encoding. The first is for requesting an access token the second for renewing an existing access token with a refresh token. - John Hanley