Invalid JWT when trying to connect to Google Oauth for google API
问题 I was trying to connect to Google API through OAuth through JWT, but I keep getting this error: { "error": "invalid_grant", "error_description": "Invalid JWT: Token must be a short-lived token and in a reasonable timeframe" } In my JWT calim I set the iat to be current time minus 1970-01-01 in seconds and exp to iat + 3600, so I do not know why I am still getting this error. If anyone knows the answer please tell meeeeee! 回答1: Not sure if you ever got it to work, but the following simple