After reinstalling gam tried to use "gam use project" but receving JWT signature error
See original GitHub issueFull steps to reproduce the issue:
- Deleted old version by
rm -rf ~/gam
- Installed new by
bash <(curl -s -S -L https://git.io/install-gam)
- Tried to re-use previosly created project by
gam use project
Expected outcome (what are you trying to do?): It will work as expected.
Actual outcome (what errors or bad behavior do you see instead?):
mrpsycho@DESKTOP-L6B9C6M:~/bin/gam$ gam user y.n check serviceaccount
Computer clock status:
Your system time differs from admin.googleapis.com by less than 1 second PASS
Service Account Private Key Authentication:
Authenticating...invalid_grant: Invalid JWT Signature. FAIL
ERROR: Invalid private key in oauth2service.json. Please delete the file and then
recreate with "gam create project" or "gam use project"
mrpsycho@DESKTOP-L6B9C6M:~/bin/gam$ gam user y.n@domain.com check serviceaccount
Computer clock status:
Your system time differs from admin.googleapis.com by less than 1 second PASS
Service Account Private Key Authentication:
Authenticating...invalid_grant: Invalid JWT Signature. FAIL
ERROR: Invalid private key in oauth2service.json. Please delete the file and then
recreate with "gam create project" or "gam use project"
gam info domain
works as expected.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
After reinstalling gam tried to use "gam use project" but ...
After reinstalling gam tried to use "gam use project" but receving JWT signature ... Authenticating...invalid_grant: Invalid JWT Signature.
Read more >Existing Project Setup - Error 404: Unknown service account
I'm trying to setup GAM on a headless Debian cloud VM to use for some nightly automations. I'm trying to connect via this...
Read more >JWT (JSON Web Tokens) Errors | Invalid JWT Signature
For Invalid JWT Signature, check if your service account key has expired. Go to your APIs & Services to add a new key...
Read more >JWT Returns Invalid Signature Error Even When I enter the ...
I used the express-jwt module for the access token authentication and I got the invalid signature error. In my case I used a...
Read more >Untitled
... milliseconds Call the reporter that you're trying to time, but ignore its ... ,now,could,after,even,because,us,said,good,way,two,should,work,use,through ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
At the moment the only way is to regenerate a new JSON KEY from the project in GCP on the Service account, the key generated by the “create project” command is not working, if you make a diff with the old one you can see that a piece is missing
thanks to you @jay0lee for your excellent work, GAM for me and a lot of people like me is just fantastic (I speak to you as a Google Partner and Reseller, with thousands of customers)