I'm trying to use Service Account on Mirror API to call a PHP script on my server to push card into Glass Timeline.
Actually I just get a JWT, but when I perform the POST Request to get my token, Google sends me:
> ' https://accounts.google.com/o/oauth2/token
{
"error" : "invalid_grant"
}
I don't really know why. I use this line as Grant_type : grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer
If you get some information... Thx