Can't get it to work.
Maybe I'm completely missing the point of this example but it doesn't seem to work, at all.
If I run goapp server and go to localhost:8080 it says ERROR: error getting history: googleapi: Error 401: Invalid Credentials, authError
README says it should show how to use the appengine.AccessToken function, but it doesn't use that function as far as I can tell. The demo linked in the README gives an error about the rate limit being exceeded.
Any ideas/suggestions?
The appengine.AccessToken is used in the goauth2/appengine/serviceaccount package, see:
https://github.com/GoogleCloudPlatform/appengine-goshorten/blob/master/goshorten.go#L31
In order to run it locally you should use the following devappserver flags to point to JWT credentials:
[--appidentity_email_address APPIDENTITY_EMAIL_ADDRESS]
[--appidentity_private_key_path APPIDENTITY_PRIVATE_KEY_PATH]