Error "invalid_grant / Invalid JWT Signature." to get the access token using Oauth
For a long time I have tried to solve this problem. I need to generate a token access with a service account to use the Google calendar application. First I do the JWT with the library firebase / php-jwt based on a pem certificate where it stores the private key provided by the Google service account After doing a curl in Google to get the aforementioned token, but it throws me the following error "" invalid_grant / Invalid JWT Signature " $time = time(); $key = file_get_contents("./certs/certificado.pem"); $token = array( "iss" => "*****@*******.iam.gserviceaccount.com", "aud" => "https://www
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.